Re: [Puppet Users] Newbie Question

2016-03-29 Thread Dirk Heinrichs
Am 30.03.2016 um 07:07 schrieb Alex Samad:

> So I am thinking I need a puppet servers. all the linux boxes need
> access to this server on port 80 & 443

No. Puppet server listens on port 8140.

> My first task is to standardize the standard username's GID/UID used.
> currently there is a script that creates my standard users. and it has
> changed over times and some users have different GID/UID's
>
> can I use poppet to standardize my GID/UID's. Then I presume I could
> create a class ??? or ??? to group all of these users together.

That's not a task for Puppet, but for NIS or LDAP. If you want identical
G-/UIDs on all systems, do centralized account management. However,
Puppet could do the LDAP server setup for you, I guess ;)

> How do I plan for different environments.
>
> I would like to test things in say NON PROD for week or 2, how do you
> setup for that.

Store your modules/manifests/hiera in one or more GIt repositories. You
can then clone it/them once for each environment and check out different
branches.

> I note 
> root@learning:/etc/puppetlabs/code/environments/production/modules
>
> there is a production here in the pathing.
>
> for example lets say I want to roll out a new sudoers config file. I
> want to test in UAT first. If I have 1 class and its allocated to all
> my boxes. doesn't that mean that all my boxes get the new sudoers.

Yes.

> or do i need a prod sudoer and a non prod sudoers ??

That depends on your needs. However, IF you do, you could use templates,
and fill the placeholders with hiera data depending on the environment.
Or you could use sudoers snippets (stored in /etc/sudoers.d/) and only
put those in place which fit the actual environment. You can also put
host-dependent rules into your sudoers file, so that you can rollout the
same file to all hosts regardless (see: man 5 sudoers).

HTH...

Dirk
-- 

*Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions
*Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach
*Tel*: +49 2226 159 (Ansage) 1149
*Email*: d...@recommind.com 
*Skype*: dirk.heinrichs.recommind
www.recommind.com 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/56FB68B8.7060908%40recommind.com.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] Newbie Question

2016-03-29 Thread Alex Samad
Hi

I am just about finished running through the tutorial.

I am planing ahead for rolling out puppet to manage my linux servers.

So I am thinking I need a puppet servers. all the linux boxes need access 
to this server on port 80 & 443 

My first task is to standardize the standard username's GID/UID used. 
currently there is a script that creates my standard users. and it has 
changed over times and some users have different GID/UID's

can I use poppet to standardize my GID/UID's. Then I presume I could create 
a class ??? or ??? to group all of these users together.

How do I plan for different environments.

I would like to test things in say NON PROD for week or 2, how do you setup 
for that .

I note 
root@learning:/etc/puppetlabs/code/environments/production/modules

there is a production here in the pathing.

for example lets say I want to roll out a new sudoers config file. I want 
to test in UAT first. If I have 1 class and its allocated to all my boxes. 
doesn't that mean that all my boxes get the new sudoers.

or do i need a prod sudoer and a non prod sudoers ??

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/19f6dfde-a8bf-4666-bf1e-3a03131a9d40%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] how to check existences of a file in a ERB template?

2016-03-29 Thread Ramin K

On 3/28/16 12:44 PM, Sans wrote:

Hi there,

I'm setting up a multi-tenancy WordPress environment, where multiple
sites are structured as: /var/www/. Long story short: I want
to put a line in the wp-config.php based on existences of a file in
wp-content (under each site_location, provided by my users) directory,
which I don't actively managed. So, I have this in the template that
generates the wp-config.php file:

|
<%-ifFile.exist?('/var/www/'+@title+'/wp-content/wp-extra-config.php')-%>
require_once(ABSPATH . 'wp-content/wp-extra-config.php');
<%-end-%>
|

where @title is the site_name that comes from a hiera hash. But it's not
working and I think the reason being Puppet checking the existences of
|wp-extra-config.php| file on the master during the compilation, hence
setting it as false, for obvious reason. I cannot have it as a fact,
because of the multi-tenancy and existences of that file varies from
project to project. How do I go around this issue?

-San


I think it's simpler to make PHP do the work because templates are 
evaluated on the master.


if(file_exists('/var/www/<%= @title %>/wp-content/wp-extra-config.php')'))
  require_once(ABSPATH . 'wp-content/wp-extra-config.php');

Or whatever the if PHP syntax would be

Ramin

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/56FAD1E0.1050309%40badapple.net.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] how to check existences of a file in a ERB template?

2016-03-29 Thread Henrik Lindberg

On 29/03/16 12:40, Sans wrote:

Hi Trevor,

I don't think "Templates" are technically executed on the Master -
that's for the client/agents. The asset(s) we define in the template has
to native to the agent. You can say everything gets complied on the
master. Correct me, if I'm wrong.



ERB (as well as EPP) templates are only loaded and evaluated when 
compiling the catalog. They have no role on the agent - it just receives 
the produced text.


Regards
- henrik


--

Visit my Blog "Puppet on the Edge"
http://puppet-on-the-edge.blogspot.se/

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/56FA9D6C.8010303%40puppetlabs.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] unable to create home directory

2016-03-29 Thread Lowe Schmidt
> Notice: /Stage[main]/Ssh/Ssh_authorized_key[admin]/ensure: created
> Debug: Creating /home/admin/.ssh
> Error: /Stage[main]/Ssh/Ssh_authorized_key[admin]: Could not evaluate: No
such file > or directory - /home/admin/.ssh

Well, does the directory /home/admin/.ssh exist?

--
Lowe Schmidt | +46 723 867 157

On 29 March 2016 at 16:44, Patrick G.  wrote:

> Hi,
>
> I am using # puppet-module-ssh
>
> In the yaml file I have:
>
> ssh::keys:
>   admin:
> ensure: present
> user: admin
> type: dsa
> key: ...==
>
> But when running puppet agent I get:
>
> Notice: /Stage[main]/Ssh/Ssh_authorized_key[admin]/ensure: created
> Debug: Creating /home/admin/.ssh
> Error: /Stage[main]/Ssh/Ssh_authorized_key[admin]: Could not evaluate: No
> such file or directory - /home/admin/.ssh
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/892b9b3a-30b3-47e5-8c0f-1e52a2309179%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAC-wWcRByycxjrkvWMWrOhX7EiVGLxrsQ7z2zx8m8%3DBt7Wc6Mg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] unable to create home directory

2016-03-29 Thread Patrick G.
Hi,

I am using # puppet-module-ssh

In the yaml file I have:

ssh::keys:
  admin:
ensure: present
user: admin
type: dsa
key: ...==

But when running puppet agent I get:

Notice: /Stage[main]/Ssh/Ssh_authorized_key[admin]/ensure: created
Debug: Creating /home/admin/.ssh
Error: /Stage[main]/Ssh/Ssh_authorized_key[admin]: Could not evaluate: No 
such file or directory - /home/admin/.ssh



-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/892b9b3a-30b3-47e5-8c0f-1e52a2309179%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Configure puppet-master on 443 rather then 8140

2016-03-29 Thread Martin Alfke

On 29 Mar 2016, at 13:47, Rohit Sharma  wrote:

> Hi Team,
> 
> By default when we install foreman puppet-master running/listen agent request 
> on 8140, but I need to it on 443 only

AFAIK foreman listens on 443.
Why do you want to move away from 8140?

puppet config print | grep 8140
You need to configure master port, ca_port and report_port on master and all 
agents.

> Can any one help me out to configure puppet master over 443 than 8140.

I don’t see the benefit in doing so.

> Please tell me the detailed step.
> 
> Thanks in advanced
> 
> Regards 
> Rohit
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/puppet-users/23eeaa73-085b-4e2d-8c44-904240717bba%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/963B9820-D235-41B8-97AE-D615724731BF%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] problem with hiera arrays ?

2016-03-29 Thread EmAr
Ok, thank you.

EmAr.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/d4ed0ebe-4295-4b4f-9d98-b93f0e030973%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Need hide execution window on Windows Scheduled Tasks

2016-03-29 Thread Jesus Vte. Vila
Can you specify what your manifest looks like? Yes

scheduled_task { $titulo_tarea_mantenimiento:
   ensure => present,
   enabled => true,
   command => $lineaComandos,
   user => $usuario,
   password => $contrasena,
   arguments => $parametros_mantenimiento,
   trigger   => {
 schedule => daily,
 every => 1,
 start_date => '2016-01-01',
 start_time => '03:00',
   }, 
 }

El jueves, 24 de marzo de 2016, 19:39:55 (UTC+1), Rob Reynolds escribió:
>
>
> On Wed, Mar 23, 2016 at 6:43 PM, Felix Frank  > wrote:
>
>> Hi,
>>
>> if Puppet does not allow you to specify this preference, you could file 
>> it as a feature request.
>>
>> https://tickets.puppetlabs.com/
>
>
>
>
>>
>> The Windows devs at PL are quite crafty, you might get a patch faster 
>> than you think ;-)
>>
>> Cheers,
>> Felix ( - throwing friends under the bus since 2013 )
>
>
> Nice signature. 
>  
>
>>
>>
>> On 03/15/2016 12:16 PM, Jesus Vte. Vila wrote:
>>
>>> Hi, I'm using Puppet Agent 1.3.5 on Windows Server 2008 and 2012.
>>>
>>> When I create a Scheduled Task, it creates correctly but every time task 
>>> is running, it shows the task screen. If the task is running every 5 
>>> minutes it's annoying.
>>>
>>
> This doesn't seem right and isn't in line with how we've seen it work. 
> Perhaps it is a setting you are using that is causing this? Can you specify 
> what your manifest looks like?
>
>  
>
>>
>>> I've observed Puppet Agent, create task and in the properties, in the 
>>> part "Configure for" is selected "Windows Server 2003, Windows XP o Windows 
>>> 2000"
>>>
>>> If i change this for "Windows Vista or Windows 2008" the window of the 
>>> running task is hidden :-) but when agent run again, it changes again to 
>>> Windows 2003 
>>>
>>
> We are considering support for v2 scheduled tasks, but right now it needs 
> to be at the level we originally supported. Now that Puppet Agent has 
> removed Windows 2003 support in the latest versions of Puppet we have more 
> options to move forward with v2. We have been discussing this internally, 
> but I don't have anything to share about it yet.
>
> Here are the known Scheduled_Task tickets[1]. You can file a ticket 
> requesting this under the PUP project[2] and we can start a public 
> discussion if you feel this is a priority for us to address.
>
> [1] 
> https://tickets.puppetlabs.com/issues/?jql=project%20%3D%20PUP%20AND%20resolution%20%3D%20Unresolved%20AND%20labels%20%3D%20scheduled_task
> [2] https://tickets.puppetlabs.com/browse/PUP
>
>  
>
>>
>>> What can i do?
>>>
>>> Thanks .
>>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Puppet Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to puppet-users...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/puppet-users/56F32A21.3020102%40Alumni.TU-Berlin.de
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Rob Reynolds
> Developer, Puppet Labs
>
>
> PuppetConf 2016 , October 17-21, San Diego, 
> California
> *Early Birds save $350* 
> 
>  - 
> Register by June 30th
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/60f0e506-2b2b-4315-aed8-da10605faa44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Hosting Master In Multiple Vhosts (migrating port from 8140 -> 443)

2016-03-29 Thread rohit.sharma3 via Puppet Users
Hi tell me the location of file, I want change all communication held on 
443 rather then 8140.

On Friday, December 20, 2013 at 7:44:08 PM UTC+5:30, Ramin K wrote:
>
> On 12/20/2013 6:05 AM, Alex wrote: 
> > Hi, 
> > 
> > we want to migrate our puppet master to run on 443 rather than on 8140. 
> > We use Apache and Passenger. 
> > 
> > To gracefully migrate, I want to setup two vhosts and host puppet on 
> > both ports for a short period of time. I know how to setup the vhosts 
> > but I am not sure whether the Puppet master stays stable in such a 
> setup. 
> > 
> > Are there any issues hosting the Puppet master in two Vhosts on the same 
> > Apache2 server? 
> > 
> > Thanks, 
> > Alex 
>
> Only downside I can see is running more Rack processes than needed 
> because Passenger sees each vhost as a separate app. 
>
> You might also try something like the following in your vhost config. 
>
> Listen 443 
> Listen 8140 
>  
>
> Ramin 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/9c4a07a5-2d26-4d82-8267-94515e43bb37%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] Configure puppet-master on 443 rather then 8140

2016-03-29 Thread Rohit Sharma
Hi Team,

By default when we install foreman puppet-master running/listen agent 
request on 8140, but I need to it on 443 only
Can any one help me out to configure puppet master over 443 than 8140.
Please tell me the detailed step.

Thanks in advanced

Regards 
Rohit

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/23eeaa73-085b-4e2d-8c44-904240717bba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] how to check existences of a file in a ERB template?

2016-03-29 Thread Sans
Hi Trevor,

I don't think "Templates" are technically executed on the Master - that's 
for the client/agents. The asset(s) we define in the template has to native 
to the agent. You can say everything gets complied on the master. Correct 
me, if I'm wrong.

w.r.t. custom-fact, as I said, it cannot be done, if I understood it 
correctly. I have a hiera hash like this:

wordpress::params::install_dir: '/var/www'
wordpress::client_hash:
'wp007':
client_enabled: true
wp_site_domain: 'wp007.com '

'wp008':
client_enabled: true
wp_site_domain: 'wp008.com '
.

and then in the init.pp, I process the info this way:

$client_hash = hiera_hash('wordpress::client_hash')
create_resources("@wordpress::sites",$client_hash)

where wordpress::sites is a define()type that loops through that array. The 
value (of the fact), in this case, has to change dynamically, on the fly. 
Meaning, has_wp_extra_config has to change during the puppet-run for 
clients, e.g. wp007 and wp008, which I don't think possible with a fact. 

-San


On Tuesday, March 29, 2016 at 10:50:09 AM UTC+1, Trevor Vaughan wrote:
>
> Hi San,
>
> Templates are executed on the master and so it will be checking the 
> existence on the master as written.
>
> You'll need to write a custom fact (they're easy) 
> https://docs.puppetlabs.com/facter/3.1/custom_facts.html. Something like 
> a boolean 'has_wp_extra_config' would be ideal.
>
> Then, in your template, change your line to <%- if @has_wp_extra_config 
> -%> and you should be good to go.
>
> Trevor
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/3dafad56-1209-4b82-80af-66cf36869231%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] how to check existences of a file in a ERB template?

2016-03-29 Thread Sans
Hi Trevor,

I don't think "Templates" are technically executed on the Master - that's 
for the client/agents. The asset(s) we define in the template has to native 
to the agent. You can say everything gets complied on the master. Correct 
me, if I'm wrong.

w.r.t. custom-fact, as I said, it cannot be done, if I understood it 
correctly. I have a hiera hash like this:

wordpress::params::install_dir: '/var/www'
wordpress::client_hash:
'wp007':
client_enabled: true
wp_site_domain: 'abccap-dev.kurtosysweb.com'

'wp008':
client_enabled: true
wp_site_domain: 'abccap-dev.kurtosysweb.com'
.

and then in the init.pp, I process the info this way:

$client_hash = hiera_hash('wordpress::client_hash')
create_resources("@wordpress::sites",$client_hash)

where wordpress::sites is a define()type that loops through that array. The 
value (of the fact), in this case, has to change dynamically, on the fly. 
Meaning, has_wp_extra_config has to change during the puppet-run for 
clients, e.g. wp007 and wp008, which I don't think possible with a fact. 

-San
   
 




The main issue is 


On Tuesday, March 29, 2016 at 10:50:09 AM UTC+1, Trevor Vaughan wrote:
>
> Hi San,
>
> Templates are executed on the master and so it will be checking the 
> existence on the master as written.
>
> You'll need to write a custom fact (they're easy) 
> https://docs.puppetlabs.com/facter/3.1/custom_facts.html 
> .
>  
> Something like a boolean 'has_wp_extra_config' would be ideal.
>
> Then, in your template, change your line to <%- if @has_wp_extra_config 
> -%> and you should be good to go.
>
> Trevor
>
> On Mon, Mar 28, 2016 at 3:44 PM, Sans  
> wrote:
>
>> Hi there,
>>
>> I'm setting up a multi-tenancy WordPress environment, where multiple 
>> sites are structured as: /var/www/. Long story short: I want 
>> to put a line in the wp-config.php based on existences of a file in 
>> wp-content (under each site_location, provided by my users) directory, 
>> which I don't actively managed. So, I have this in the template that 
>> generates the wp-config.php file: 
>>
>> <%- if File.exist?('/var/www/'+@title+'/wp-content/wp-extra-config.php') 
>> -%>
>> require_once(ABSPATH . 'wp-content/wp-extra-config.php');
>> <%- end -%>
>>
>> where @title is the site_name that comes from a hiera hash. But it's not 
>> working and I think the reason being Puppet checking the existences of 
>> wp-extra-config.php file on the master during the compilation, hence 
>> setting it as false, for obvious reason. I cannot have it as a fact, 
>> because of the multi-tenancy and existences of that file varies from 
>> project to project. How do I go around this issue?
>>
>> -San 
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Puppet Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to puppet-users...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/puppet-users/15dd9afc-a55c-45d3-ab22-ed3ffc68fc3c%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Trevor Vaughan
> Vice President, Onyx Point, Inc
> (410) 541-6699
>
> -- This account not approved for unencrypted proprietary information --
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/708b15ef-c37e-458f-b6b4-2bbb7bc6cbbd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] how to check existences of a file in a ERB template?

2016-03-29 Thread Trevor Vaughan
Hi San,

Templates are executed on the master and so it will be checking the
existence on the master as written.

You'll need to write a custom fact (they're easy)
https://docs.puppetlabs.com/facter/3.1/custom_facts.html. Something like a
boolean 'has_wp_extra_config' would be ideal.

Then, in your template, change your line to <%- if @has_wp_extra_config -%>
and you should be good to go.

Trevor

On Mon, Mar 28, 2016 at 3:44 PM, Sans  wrote:

> Hi there,
>
> I'm setting up a multi-tenancy WordPress environment, where multiple sites
> are structured as: /var/www/. Long story short: I want to put
> a line in the wp-config.php based on existences of a file in wp-content
> (under each site_location, provided by my users) directory, which I don't
> actively managed. So, I have this in the template that generates the
> wp-config.php file:
>
> <%- if File.exist?('/var/www/'+@title+'/wp-content/wp-extra-config.php') -
> %>
> require_once(ABSPATH . 'wp-content/wp-extra-config.php');
> <%- end -%>
>
> where @title is the site_name that comes from a hiera hash. But it's not
> working and I think the reason being Puppet checking the existences of
> wp-extra-config.php file on the master during the compilation, hence
> setting it as false, for obvious reason. I cannot have it as a fact,
> because of the multi-tenancy and existences of that file varies from
> project to project. How do I go around this issue?
>
> -San
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/15dd9afc-a55c-45d3-ab22-ed3ffc68fc3c%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Trevor Vaughan
Vice President, Onyx Point, Inc
(410) 541-6699

-- This account not approved for unencrypted proprietary information --

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CANs%2BFoWSAHHzbV%2BpMU2aUX8R33shmBdL58j-wt6mk3bii157kA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.