[Puppet Users] Puppet fails to run if ruby1.8 is not installed.

2014-03-29 Thread Jason Price
Amazon this week took ruby1.8 out of their Amazon Linux distro. Only ruby2.0 is installed. After installing the puppetlabs yum repo package, and then yum install puppet, I have this error: # puppet agent -t /usr/share/ruby/vendor_ruby/2.0/rubygems/core_ext/kernel_require.rb:55:in `require': cann

Re: [Puppet Users] Ordering between 2 create_resources in Puppet Manifests

2014-03-29 Thread Denmat
Hi, Yes there is at least one way. I have been using tags to achieve this like so: $default_a = { tag => 'do_a' } $some_hasha = hiera('a') $default_b = { tag => 'do_b' } $some_hashb = hiera('b') create_resource(resource_type, $some_hasha, $default_a) create_resource(resource_type, $some_hashb,

[Puppet Users] Re: Yumhelper.py fails with exceptions.indexError on Python 2.7 hosts

2014-03-29 Thread Michael O'Dea
Update on this -- Amazon rev'd Yum to v3.4.3-137 at the same time -- most likely the source of the issue... but it's still causing me problems. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving em

[Puppet Users] Ordering between 2 create_resources in Puppet Manifests

2014-03-29 Thread Vishwa Kumba
I was wondering if there is a way to define ordering between 2 create_resources in puppet manifests. For example: create_resources('php::install', $php_packages) -> create_resources('webapps::deploy', $apps) The above does not work, but does puppet support the ordering between 2 create_source

[Puppet Users] YAML in network requests is deprecated

2014-03-29 Thread Rakesh Kathpal
Hi, I see that this issues has been fixed in puppet 3.3. https://projects.puppetlabs.com/issues/21427 I am using puppet 3.4 but still receiving a lot of warning related to this. Can someone please suggest how can fix this issue on my master. Regards, Rakesh K. -- You received this message b