[Puppet Users] Is trusting the agents a bad thing?

2015-02-12 Thread UK_beginner
I'm new to puppet and have been exploring different ways of configuring manifests, ranging from huge single manifests, through per-node and am currently looking at the role/profile patterns. One thing I've been looking at is using a mix of puppet and hiera to set up a hierarchy based around ser

[Puppet Users] Get list of nodes where resource is used

2015-03-04 Thread UK_beginner
I have two packages a and b - servers with package a collect data and pass it to all nodes where package b is installed. Is there anyway to collect the list of servers where package a is installed automatically and make it available as a variable to pass to the definition for service b? Curren

[Puppet Users] puppetlabs-apache module: anyway to define default parameters for every vhost

2015-06-25 Thread UK_beginner
I'm using the puppetlabs-apache module (currently v1.5.0) and I'm looking for a way to be able to define some default values for every virtual host. For example, it would be good to set ServerAdmin to 'x...@yy.com' as a default, allowing overrides only when necessary. Can anyone suggest a way t

[Puppet Users] Defining default values for vhosts in puppetlabs apache module

2015-06-25 Thread UK_beginner
We're using the puppetlabs-apache module, defining our config with hiera. At the minute, we've got a config like apache::vhosts > host1: > port: 80 > servername: host1.com > serveradmin: m...@xx.com > host2: > port: 80 > servername: host1.com > serveradmin: m...@xx.co

[Puppet Users] Can I just edit the dashboard widgets?

2015-10-13 Thread UK_beginner
I'm wanting to make some changes to the conditions used in building the dashboard lists - is it possible to just edit the erb files in app/views/dashboard? I've tried editing one of the conditions in the _status_widget.html.erb but even after restarting foreman & logging out and back in, the da