I just tested the following snippet and it turns out it doesn't work.

packages:
  - puppet-agent
puppet:
  conf:
    agent:
      server: "puppet.example.com"
      certname: "%i.%f"
run_cmd:
  - [ ln, -s, /etc/puppet/puppet.conf, /etc/puppetlabs/puppet/puppet.conf ]

The symlinking works fine, but apparently setting [puppet.conf.agent] 
implicitly installs the old "puppet" package (v3.x), which conflicts with 
the "puppet-agent" package installed a few lines before and causes it to be 
removed. You end up with just puppet 3.x installed. Not what I'd expect.

Any other ideas?

I'd still like to hear how others bootstrap their AWS instances with Puppet 
PC1 or newer? Maybe by a different cloud-init method?

Regards, Martijn

Op woensdag 8 november 2017 04:21:24 UTC+1 schreef Poil:
 

> Why not just create a symlink ?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/99837b61-f0cd-4bb6-8a15-964bbf906d78%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to