Commit Graph

161 Commits

Author SHA1 Message Date
John Barnette
ba4a0e722d Merge pull request #19 from adelcambre/sync-puppet
Use app url rather than note for finding the authorization
2012-11-28 12:11:00 -08:00
Andy Delcambre
0a128f277f Use app url rather than note for finding the authorization 2012-11-28 12:03:40 -08:00
John Barnette
b01e852cc6 Switch script/sync-puppet to an OAuth token
This also removes the redundant "puppet-" prefix on clones.
2012-11-28 11:28:25 -08:00
John Barnette
c091f54567 Remove pointless bundle check 2012-11-28 10:54:14 -08:00
Will Farrington
0fb99a81b2 release 0.5.1 2012-11-02 11:54:56 -04:00
Will Farrington
aba4fb534d .projects trick 2012-11-02 11:54:41 -04:00
Will Farrington
9e9c8f16d4 Release 0.5.0 v0.5.0 2012-11-02 10:50:27 -04:00
Will Farrington
c77edbe995 Merge pull request #16 from boxen/project_cli_arg
Specify projects on command line
2012-11-02 07:49:23 -07:00
Yossef Mendelssohn
ec9ead2031 Merge pull request #14 from boxen/runner_service_cleanup
Remove dead services code in Boxen::Runner
2012-10-29 16:37:06 -07:00
Yossef Mendelssohn
0afa7549e2 Multiple CLI projects, also using flags
What do I know about Facter? This test fails because once the fact is
set, it's set. Maybe I could do something with weights in the code, but
that seems silly. Probably should instead be testing this differently.
2012-10-26 01:53:53 -04:00
Yossef Mendelssohn
2c4c1359a9 Add command-line projects as fact
This test is a little troublesome because it needs sudo credentials and
it complains about there being no manifests/site.pp file.
2012-10-26 01:45:45 -04:00
Will Farrington
225f506c77 release 0.4.2 v0.4.2 2012-10-23 21:38:12 -04:00
Will Farrington
8128b709e1 add support for loading facts as JSON from ~/.boxen 2012-10-23 21:37:58 -04:00
Yossef Mendelssohn
628bc4c7d5 Remove dead services code in Boxen::Runner
This should've been part of 2d33c44b57.
2012-10-23 14:31:52 -04:00
Yossef Mendelssohn
ac06474978 Merge pull request #11 from boxen/runner
Refactor CLI to add Runner class
2012-10-11 12:03:06 -07:00
Yossef Mendelssohn
2c2c24a4ba Oh hey maybe I should commit the code too
cf. 739e8a5ef9
2012-10-11 12:29:38 -04:00
Yossef Mendelssohn
739e8a5ef9 Nice stringification for Boxen::Service 2012-10-11 12:22:08 -04:00
Yossef Mendelssohn
2d33c44b57 Use that Boxen::Service in the Runner
Isn't that so much nicer?

Yes, yes it is.
2012-10-11 12:21:13 -04:00
Yossef Mendelssohn
329d4efe66 an wild Boxen::Service appears!
This could be cleaned up more, what with the com.boxen.*.plist
repetition. Later.
2012-10-11 12:16:05 -04:00
Yossef Mendelssohn
ce4f86f35c Don't abort for help display
`abort` is a quick way to print-and-quit, but asking for help isn't the
same as the command failing.
2012-10-11 11:59:40 -04:00
Will Farrington
31fe9fd2c1 release 0.4.1 v0.4.1 2012-10-10 18:36:59 -10:00
Yossef Mendelssohn
87c678160c Merge pull request #13 from boxen/issue_check
Add issue check to error reporting
2012-10-10 21:26:49 -07:00
Will Farrington
c04d0c35d4 use absolute paths to mkdir and chown in CLI 2012-10-10 18:20:07 -10:00
Yossef Mendelssohn
e0dffec5c8 Don't report issues to us 2012-10-11 00:11:30 -04:00
Yossef Mendelssohn
d5c0e5b5df calm down on the Struct tricks, I guess
@jbarnette got totally concern :trollface: about this
2012-10-10 23:35:25 -04:00
Yossef Mendelssohn
f1f695f6f6 Extract service-listing to a separate method
Ugh, this could be even nicer if `launchctl` could take the 'human
name'. Going to ponder further.
2012-10-10 23:28:40 -04:00
Yossef Mendelssohn
80e9b5f0e7 No repo means no issues 2012-10-10 16:40:25 -04:00
Yossef Mendelssohn
182486e048 Skip failure reporting if repo has no issues 2012-10-10 16:34:03 -04:00
Yossef Mendelssohn
b7e7455be4 Add issue-check to Boxen::Reporter
The repository in use might not have issues enabled.
2012-10-10 16:26:29 -04:00
Yossef Mendelssohn
049abb6852 Extract flag-checking from Runner#process 2012-10-10 13:12:25 -04:00
Yossef Mendelssohn
dc9e6c0d11 Let tests continue running after help display
Oh, that `abort`.
2012-10-10 13:11:08 -04:00
Yossef Mendelssohn
1de664a8a6 Move help display back to CLI from Runner
This is difficult to test because of that `abort` call.

Do we actually want the help to result in printing to stderr and
exiting with code 1?
2012-10-10 13:06:40 -04:00
Yossef Mendelssohn
47b42ab439 Use Puppet::Status instead of exit code 2012-10-10 12:44:26 -04:00
Yossef Mendelssohn
bddede55b6 Add logic to Puppet status code
This is used in multiple places now, and it should be boxed up with the
Puppet status anyway.
2012-10-10 12:41:50 -04:00
Yossef Mendelssohn
26e2899728 Extract CLI#run to a Runner class 2012-10-10 12:35:30 -04:00
Will Farrington
2ca1d9a1b9 indentation fixes 2012-10-09 11:52:18 -10:00
Will Farrington
e1afc6a2bc release 0.4.0 v0.4.0 2012-10-09 09:05:27 -10:00
Will Farrington
e8eb48c3e3 Merge pull request #10 from boxen/service_management
Service management CLI flags
2012-10-09 12:04:13 -07:00
Will Farrington
b1cdbfd8f5 typo 2012-10-09 08:39:15 -10:00
Will Farrington
7a54b30900 don't mind me, just blindly copy-pasting 2012-10-09 08:27:09 -10:00
Will Farrington
ac9958890a travis-ci up in hurr 2012-10-09 08:12:11 -10:00
Will Farrington
79c6ef595a add cli support for --list-services, --enable-services, and --disable-services 2012-10-09 07:54:06 -10:00
Will Farrington
ca02b6aa6a add --list-services, --enable-services, --disable-services flags 2012-10-09 07:27:27 -10:00
Simon Rozet
db09f9e105 fix typo in README 2012-10-06 22:39:51 +03:00
Yossef Mendelssohn
5b779d3bac whitespace 2012-10-06 15:37:43 -04:00
Yossef Mendelssohn
73d2a444e8 Testing Puppet exit code 2 = success 2012-10-06 15:37:09 -04:00
Will Farrington
4437dd8e22 Release 0.3.3 v0.3.3 2012-10-05 17:29:41 -10:00
Will Farrington
cf1638142f make successful_exit_code? a class method on CLI for consistency 2012-10-05 17:29:29 -10:00
Will Farrington
75194dee86 Release 0.3.2 v0.3.2 2012-10-05 17:22:09 -10:00
Will Farrington
e0951c354c support puppet's detailed exit codes for issue reporting /cc @ymendel 2012-10-05 17:21:52 -10:00