Mitchell Hashimoto
3de16f20b9
privisioner/chef-client: don't chown with ubuntu [GH-939]
2014-03-12 21:05:25 -07:00
Mitchell Hashimoto
ab97545a52
provisioner/puppet-server: docs
2014-02-24 09:51:48 -08:00
Mitchell Hashimoto
2af91addf9
Merge pull request #796 from Jimdo/puppet-server
...
Add puppet server provisioner
2014-02-24 09:49:27 -08:00
Mitchell Hashimoto
000e5b67ff
provisioner/chef-client: docs and validation key path
2014-02-24 09:45:04 -08:00
Mitchell Hashimoto
d7e6409b9a
provisioner/chef-client: clean up
2014-02-24 08:53:56 -08:00
Mitchell Hashimoto
d0a08e83cf
Merge pull request #855 from Elachance/chef-client-provisioner
...
adding chef-client provisioner
2014-02-24 08:33:11 -08:00
Mitchell Hashimoto
4576093c17
fmt
2014-02-24 08:26:51 -08:00
Mitchell Hashimoto
8c1de9e712
provisioner/ansible-local: better error if missing [GH-836]
2014-02-21 20:30:04 -08:00
Mitchell Hashimoto
a51fbea499
provisioner/ansible-local: style
2014-02-21 15:27:39 -08:00
Jan Brauer
ee50657097
Merge remote-tracking branch 'upstream/master' into puppet-server
2014-02-18 09:41:10 +01:00
Bernard McKeever
458d90c71d
provisioner/ansible: support {group,host}_vars
...
ansible looks for group and host vars directories as well as playbooks
this revision to the provisioner uploads those as well.
squashed to a single commit by strcrzy.
2014-02-02 09:34:41 -08:00
Bailey Johnson
73bbfab8f1
adding chef-client provisioner
2014-01-25 01:06:55 +00:00
jamie brim
ec1adec029
provisioner/ansible: configurable command / args
...
allow users to provide a replacement command / extra args to the
ansible-local provisioner.
this is useful, for example, to unbuffer output when using the
docker builder, or to modify ansible behavior, like enabling
verbose mode, injecting variables, or changing paths.
2014-01-22 14:34:34 -08:00
jamie brim
75f64ef6af
provisioner/ansible: upload playbooks correctly
...
`Provision` calls uploadFile on each path in playbook_paths, but
playbook_paths can only contain directories, per bf7530ca28
.
This changes `Provision` to call uploadDir instead.
2014-01-17 16:54:20 -08:00
Jan Brauer
9d01684c1c
Use sudo by default, as in puppet-masterless
2014-01-09 08:51:48 +01:00
Jan Brauer
58b06526f5
Update docs for puppet-server provisioner
2014-01-08 13:03:03 +01:00
Jan Brauer
646f4a6dd3
Implement puppet-server provisioner
...
This closely modeled after the same provisioner
in Vagrant.
2014-01-08 12:50:24 +01:00
Mitchell Hashimoto
525802e9e6
provisioner/ansible-local: templates for role, playbook paths [GH-749]
2013-12-27 08:29:31 -07:00
Mitchell Hashimoto
4d3c9e7104
Merge pull request #726 from rocketnova/master
...
provisioner/chef-solo: Chef environment doesn't work for chef-solo
2013-12-18 08:40:13 -08:00
Sudharshan S
e8d1cc8e31
Fix Puppet Provisioner crash when HieraConfigPath or ManifestDir is specified
...
Prevents the following error,
Build 'amazon-instance' errored: template: tpl11:1:103: executing "tpl11" at <.HieraConfigPath>: HieraConfigPath has arguments but cannot be invoked as function
2013-12-18 19:33:43 +05:30
Rocket
bb8e9ad71c
Change chef environment to work for chef-solo.
2013-12-17 17:15:37 -08:00
Jake Good
b76a116823
Fix Ansible-local provisioner configuration check for 'playbook_paths' as it was checking for files, not paths
2013-12-12 14:13:23 -06:00
Mitchell Hashimoto
962cedd04c
fmt
2013-12-11 13:43:59 -08:00
Mitchell Hashimoto
10546f6aee
provisioner/puppet-masterless: fix compile
2013-12-11 13:22:00 -08:00
Mitchell Hashimoto
895d87d9eb
provisioner/puppet-masterless: use Go 1.2 template comparators
2013-12-11 12:39:02 -08:00
Mitchell Hashimoto
3a2c04e4e5
provisioner/puppet-masterless: validate manifest_dir is a dir
2013-12-11 11:21:51 -08:00
Mitchell Hashimoto
2986452804
provisioner/puppet-masterless: simplify manifest dir upload
2013-12-11 11:20:22 -08:00
Jan Brauer
afd0aea8df
Merge branch 'master' into configure-manifest-dir
2013-12-10 09:08:11 +01:00
Mitchell Hashimoto
956f49f439
provisioner/puppet-masterless: check for hiera config path [GH-656]
2013-12-06 19:30:06 -08:00
Jan Brauer
1a191044e7
Return targetPath
2013-11-25 22:32:14 +01:00
Jan Brauer
8beaae0d0e
#450 - allow configuration of manifest dir
2013-11-25 08:52:41 +01:00
Mitchell Hashimoto
7472507962
provisioner/chef-solo: test for encrypted data bag secret path config
...
/cc @matheeeny - Tests :)
2013-11-18 15:48:13 -08:00
Mitchell Hashimoto
d56eec8852
provisioner/chef-solo: naming nitpick
...
/cc @matheeeny - I prefer to be more explicit and say this is the path,
rather than the secret value itself.
2013-11-18 15:46:37 -08:00
Andrew Matheny
6dfcf2b347
Add support for passing encrypted data bag secret to chef-solo
...
Adds additional option to chef-solo provisioner for an encrypted data bag
secret file. Local file is copied up and referenced in solo.rb
2013-11-13 13:39:29 -05:00
Mitchell Hashimoto
457b99db3f
provisioner/chef-solo: Say using Chef-solo
2013-11-09 18:47:20 -08:00
Mitchell Hashimoto
d94cff93da
Merge pull request #475 from kelseyhightower/ansible-provisioner
...
provisioner/ansible-local: Add support for provisioning with Ansible
2013-10-20 17:46:36 -07:00
Mitchell Hashimoto
d1c497676a
Merge pull request #514 from rgarcia/salt-masterless-uploaddir
...
provisioner/salt-masterless: use communicator.UploadDir
2013-10-20 17:42:38 -07:00
Mitchell Hashimoto
75bdba7f97
Merge pull request #513 from rgarcia/salt-masterless-mv-bug
...
provisioner/salt-masterless: move states to /srv/salt, not /srv/salt/states
2013-10-20 17:40:27 -07:00
Mitchell Hashimoto
528ae09c37
provisioner/shell: comment on why we return right away if advance == 0
...
/cc @mwhooker
2013-10-15 09:48:12 -10:00
Mitchell Hashimoto
f673ca52ba
provisoiner/shell: append only needs to add a byte for UnixReader
2013-10-15 09:40:47 -10:00
Matthew Hooker
104f5049a7
provisioner/shell: fix EOF detection
...
Fixes #507
The scanUnixLine function was erroneously returning empty lines when EOF
was reached.
This commit adds a test for the problem and changes the scanUnixLine
function to elide the trailing \n if no content was read.
2013-10-15 05:56:10 -07:00
Rafael Garcia
32b9a305a1
provisioner/salt-masterless: use communicator.UploadDir
2013-10-09 18:51:30 -07:00
Rafael Garcia
76393ba285
provisioner/salt-masterless: move states to /srv/salt, not /srv/salt/states
...
Latest version copies local state tree to {tmp}/states and then executes `mv {tmp}/states /srv/salt/`. This creates a `/srv/salt/states` instead of the correct `/srv/salt` directory.
2013-10-09 13:49:30 -07:00
Mitchell Hashimoto
ff970483c4
provisioner/shell: add more tests for UnixReader
2013-10-04 10:47:28 -07:00
Mitchell Hashimoto
5dfe27b40f
provisioner/chef-solo: unused var
2013-10-02 08:29:12 -07:00
Mitchell Hashimoto
543a1a21e8
provisioner/chef-solo: alphabetize tests and such
...
/cc @netshade
2013-10-02 08:28:51 -07:00
Chris
fd6415ddf5
formatting
2013-10-01 11:21:16 -04:00
Chris
bc8e5d2c41
add environments_path and chef_environment support to chef provisioner
2013-10-01 11:20:36 -04:00
Matthew Hooker
0d1b936f69
Fix UnixReader panic on empty lines.
...
Added a test for the failure.
Most of the scanner code looks like it's a modified version of
bufio.ScanLines, so I changed it to use that but always add a line feed.
2013-10-01 09:06:01 +00:00
Jason A. Beranek
b3d76b7945
provisioner/shell: fix provisioner to use UnixReader [GH-477]
...
Packer was using the original file reader when uploading, instead of the UnixReader /cc @mitchellh
2013-09-30 23:54:54 -05:00