On Friday, March 7, 2014 2:13:47 PM UTC-6, Nick Miller wrote:
>
> Hi,
>
> I'm just starting out with puppet, and I have a basic handle on it. What
> I've been tasked to do is to be able to push files from a git repo to
> Windows servers. The servers themselves will have no internet access, so
Hi,
Its been some time that I have been working with puppet.
I have recently installed puppetdb and am using puppetdb APIs to fetch the
data about facts etc..
Few things that I have noticed are
1) Whenever I add a custom fact, I do not see it in the postgresql db until
I delete all the facts f
On Friday, March 7, 2014 11:38:20 AM UTC-6, Christopher Wood wrote:
>
> (inline)
>
> On Fri, Mar 07, 2014 at 09:39:44AM -0600, Kenton Brede wrote:
> >I've got a module that installs and configures LDAP for user
> >authentication.� I've got another module that creates user
> directorie
On Friday, March 7, 2014 10:56:09 AM UTC-6, James James wrote:
>
> Hello,
> First of all, sorry for my poor english
>
> I am trying to use foreman, puppet with modules. The razorsedge (
> https://forge.puppetlabs.com/razorsedge/network) network module. I have
> created a manage folder in
On Friday, March 7, 2014 8:57:58 AM UTC-6, Mark deJong wrote:
>
> Hello,
> We're currently using version 3.4.3, and the documentation on
> metaparameters states "any defined metaparameter can be used with any
> instance in your manifest, *including defined components.*" Unless I'm
> missing so
Look at https://github.com/puppetlabs/beaker although I am not using it
myself so I cannot tell you if it is stable enough.
--
Nikolavp
On Sun, Mar 09, 2014 at 10:35:53AM -0700, Louis wrote:
> Any Puppet Labs alternatives for ...
>
> https://github.com/test-kitchen/test-kitchen
>
>
> --
> Yo
On Mon, Mar 10, 2014 at 06:35:12AM -0700, jcbollinger wrote:
>On Friday, March 7, 2014 11:38:20 AM UTC-6, Christopher Wood wrote:
>
> (inline)
>
> On Fri, Mar 07, 2014 at 09:39:44AM -0600, Kenton Brede wrote:
> > I've got a module that installs and configures LDAP for user
>
Look at http://docs.puppetlabs.com/guides/environment.html especially
this part
http://docs.puppetlabs.com/guides/environment.html#configuring-environments-on-the-puppet-master.
You can specify different modules directories based on the environment
and then put different version of base.pp dependin
Does anyone know if the GCE module on puppet forge
http://forge.puppetlabs.com/puppetlabs/gce_compute uses the google tool
safe_format_and_mount included in the instance to mount additional persistent
disks?
--
You received this message because you are subscribed to the Google Groups
"Puppet
HI all,
I just come across an case statement for puppet. I would like to know what
the means of the mx for below sample code?
case $::operatingsystem {
/(?-mx:AIX)/ :{
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from th
On Sun, Mar 9, 2014 at 5:58 PM, Teoh khah swee wrote:
> HI all,
>
> I just come across an case statement for puppet. I would like to know what
> the means of the mx for below sample code?
>
> case $::operatingsystem {
>/(?-mx:AIX)/ :{
From:
http://perldoc.perl.org/perlre.html
(?adlupimsx-im
Thank you for the replies. What I've done is setup the agent on the puppet
master to pull the latest version of the repo, then the agents recursively
pull the directory. There are a couple of problems I'm running into.
The first is that line breaks seem to be stripped from any text files the
Hi
I am busy writing puppet modules for logstash, and want to export tokens I
get from the hiera application or %{calling_module} role.
So each of my applications/modules that will make use of the shipper module
and have the inputs.conf file installed and populated will have the
following:
c
exec {'test':
command => "/bin/ls /doesnotexit",
}
fails as expected:
Error: /bin/ls /doesnotexit returned 1 instead of one of [0]
Error: /Stage[main]//Exec[test]/returns: change from notrun to 0 failed:
/bin/ls /doesnotexit returned 1 instead of one of [0]
However,
exec {'test':
command
On 03/10/14 15:37, Matt Zagrabelny wrote:
> On Sun, Mar 9, 2014 at 5:58 PM, Teoh khah swee wrote:
>> HI all,
>>
>> I just come across an case statement for puppet. I would like to know what
>> the means of the mx for below sample code?
>>
>> case $::operatingsystem {
>>/(?-mx:AIX)/ :{
>
> Fro
Beaker works pretty well, once you get it setup. Here's a simple
example module with some very simple acceptance tests with beaker.
https://github.com/garethr/garethr-nginx
Compared to Test Kitchen the command line UI is lacking but it's early
days. For running tests is good, and worth using base
When you use concatenated commands any shell will only return the last
command return code by design, and this is what puppet receives. So its a '
works at a expected'
If you need to control each of the return codes just use different exec
resources
Regards,
El 10/03/2014 16:02, "David Portabella
On Mon, Mar 10, 2014 at 6:30 AM, Rakesh Kathpal wrote:
> Hi,
>
> Its been some time that I have been working with puppet.
>
> I have recently installed puppetdb and am using puppetdb APIs to fetch the
> data about facts etc..
>
>
> Few things that I have noticed are
>
> 1) Whenever I add a custom
I don't agree with this statement.
in bash, for example, if you type "set -e" first, bash will stop and fail
as soon as a concatenated command fails.
(i agree that this behaviour is unfortunatelly not enabled by default in
bash scripts)
> If you need to control each of the return codes just use
>
> in bash, for example, if you type "set -e" first, bash will stop and fail
> as soon as a concatenated command fails.
> (i agree that this behaviour is unfortunatelly not enabled by default in
> bash scripts)
>
>> exec {'test':
>>> command => "/bin/ls /doesnotexit; /bin/echo hello",
>>> }
I've got a big hash of info that looks like this:
$web_conf = {
my_client => {
dev => {
ws => {
server_name => 'ws.foo.bar',
server_aliases => ['ws.dev.bar.foo.com',
'ws.dev.another.foo.com'],
},
csr => {
server_aliases => ['csr
Sample config:
file { "/var/www/apps":
mode=> 0644,
owner => "username"
group => "groupname",
ensure => directory,
recurse => true,
purge => true,
force => true,
OK, stages and chaining doesn't seem to work. I'm running Puppet 3.4.3.
The following is executing in order but I still get fails on
Users::Admin_homedir_define and Ssh_authorized_key.
Class [ 'ldap_auth' ] -> Exec <| title == 'disable_selinux' |> ->
Users::Admin_homedir_define <||> -> Ssh_autho
(inline)
On Mon, Mar 10, 2014 at 04:29:30PM -0500, Kenton Brede wrote:
>OK, stages and chaining doesn't seem to work. I'm running Puppet 3.4.3.
>
>The following is executing in order but I still get fails on
>Users::Admin_homedir_define and Ssh_authorized_key.
>
>Class [ 'ldap_
thanks. I agree, using && instead of ; solves the problem.
however, again, there are many puppet modules which use concatenated
commands, without realising about this problem.
and so, I am suggesting that puppet should enable the "set -e" behavior by
default.
Regards,
David
On Monday, March 10
Along the same lines, many exec resources are written with this
behaviour in mind. For example, this exec will initialize the puppet CA
certificate. Useful if you're running puppet under something like
passenger.
exec{'Create initial puppet CA':
command => '/sbin/service puppetmaste
Deepak.. Thanks alot for the info, really appreciate your help.
1) Regarding replace facts, I will recheck the issue and get back to you if
it still seems to be a bug.
2) The thing is I need to run a report for the newly added report, so I am
running a poller script which will poll every 5 mins a
27 matches
Mail list logo