[Puppet Users] Re: best way to ensure (yum) package repository freshness ?

2014-09-30 Thread daddy dp
I also faced with same problem and setting metadata_expire to 1 minute works for me. Schedule yum clean in puppet run is not good idea, because you always get at least one resource changed, and never will green nodes in puppet dashboard. On Thursday, November 18, 2010 10:56:56 AM UTC+2, Daniel

[Puppet Users] Re: Moving from manifest files to ENC script - not working...

2014-06-16 Thread daddy dp
As I know puppet merge both sources ENC and manifest file. You can use empty manifest file to avoid this behavior. Host name will be available as first argument to this script, all others facts you can query from puppetdb. Also you can use hiera as ENC, and all facts will be available for you

[Puppet Users] Re: EC2 autoscaling reusing hostnames

2014-05-26 Thread daddy dp
I think, you need to use master less configuration, it is more robust solution and more suitable for autoscaling env. Just keep puppet and puppet modules on ami or check out on first boot. On Saturday, May 24, 2014 8:54:04 AM UTC+3, Bad Tux wrote: Wha? Uhm, okay. So I need to solve this

[Puppet Users] Re: Vagrant Puppet Provision VM

2013-08-01 Thread daddy dp
you can pass puppet options puppet.options = [--pluginsync,--verbose,--hiera_config /vagrant/modules/puppet/templates/master/hiera.yaml,--environment #{ROLE}] and sync folder with hiera data config.vm.synced_folder hieradata, /etc/puppet/environments/#{ROLE}/hieradata On Tuesday,