On Thursday, December 26, 2013 12:25:38 PM UTC-6, Joseph Swick wrote:
>
> On 12/26/2013 12:48 PM, Josh wrote:
> > Joseph,
> >
> > So, the problem with this method appears to be that once you specify
> > "hiera_include('classes')" in the environment's site.pp, Puppet appears
> to
> > try and
On 12/26/2013 12:48 PM, Josh wrote:
> Joseph,
>
> So, the problem with this method appears to be that once you specify
> "hiera_include('classes')" in the environment's site.pp, Puppet appears to
> try and make Hiera the ONLY source for node classification. I rely on
> roles from my ENC and pr
Joseph,
So, the problem with this method appears to be that once you specify
"hiera_include('classes')" in the environment's site.pp, Puppet appears to
try and make Hiera the ONLY source for node classification. I rely on
roles from my ENC and profiles for classification as well.
Josh
> Hi,
Something like the following might work.
class profile::app1_site
class {'apache::mod::php':}
package { 'php5-brcypt': }
# etc etc
}
I've avoided parameterized classes for historical reasons, but Joseph's
method should work. It does require some restructuring.
fwiw not a fan o
Joseph,
I'm not currently defining classes with hiera. The host is assigned a
role, which includes a profile, which installs includes ::apache. I guess
this may be something that we need to look at for these types of scenarios.
Josh
> Hi,
> How are you declaring your classes to include fr
On 12/23/2013 02:52 PM, Josh wrote:
> Ramin,
>
> After looking more at your example for configuring apache mods via hiera, I
> have one problem.
>
> The create_resources will actually just define a resource like so:
>
> apache::mod { 'php' }
>
> However, to install the php module with puppetla
Ramin,
After looking more at your example for configuring apache mods via hiera, I
have one problem.
The create_resources will actually just define a resource like so:
apache::mod { 'php' }
However, to install the php module with puppetlabs/apache, I actually need
to include the apache::mod::
On 12/19/2013 12:39 PM, Josh wrote:
As we are starting to re-factor our puppet modules using Craig's
roles/profile design we have found that this system works well for
servers (or groups of servers) who have an entire stack of technology
deployed to them or who all are part the same custom applic
As we are starting to re-factor our puppet modules using Craig's
roles/profile design we have found that this system works well for servers
(or groups of servers) who have an entire stack of technology deployed to
them or who all are part the same custom application. Clusters of servers
typical