Dear all,
We are using:
Open source puppet master/agents - "4.2.1"
Hiera - "3.0.1"
Hiera config /etc/puppetlabs/code/hiera.yaml :
:hierarchy:
- "%{::environment}/%{::hostname}"
- "%{::environment}/%{::hostgroup}"
- "%{::environment}/%{::operatingsystem}/%{::operatingsystemmajrelease
Hey folks,
How you guys maintain your ec2 instances using aws module from command
line? I intend to rely on RAL or mco to be able to provision instances on
demand, without declaring them in puppet/hiera, but just take defaults from
there. I want to let my build server to execute command like:
Thanks for reply,
Will check that link.
Re defined type this is what I already was thinking about but I literally
can't call my new type from RAL command while it works perfectly for
generic puppet applies. From what I know only ruby types can be passed to
'puppet resource', am I right?
Thnaks
Regarding advise to use 'puppet apply -e'
Some odd issue with processing resource $title by erb template
I call
puppet apply -e "ec2_instance {"szemlyanoy-test-5": ensure => present,
region => eu-west-1, image_id => ami-12249661, instance_type =>
'm3.medium', key_name => 'CLI_Deploy', security
ignore it
Fixed by invoking command with defined type which pass params into
ec2_instance type.
The last thing bothers me - I cannot make 'puppet apply -e' to lookup for
params from hiera or even puppet classes, so need to pass all keys from cli
which is inconvenient
--
You received this m