Hi Harish,
On 09 Jun 2016, at 06:49, Harish Kothuri wrote:
> Hi,
>
> I have classA with parameter and i want to include this in another classB . I
> expected to consider the default value defined in foreman for classA but it's
> not happening.
>
>
> class classA
Hi Daniele,
On 13 May 2016, at 02:13, Daniele Palumbo <dani...@retaggio.net> wrote:
> Il giorno 12/mag/2016, alle ore 10:19, Martin Alfke <tux...@gmail.com> ha
> scritto:
>> You might want to access the Puppet settings:
>>
>> Puppet.initia
Hi Daniele,
On 08 May 2016, at 23:36, Daniele Palumbo wrote:
> Hi,
>
> i need to check if a file exists on the puppet master.
>
> No big deal:
> http://stackoverflow.com/questions/18784329/how-to-test-for-existence-of-a-file-on-the-puppet-master
>
> So i made:
> --
>
Hi ,
On 06 May 2016, at 17:29, Jeff wrote:
> I'm working on a puppet module that automatically places the entire catalog
> into zenoss (this is based on an outdated module that I found on github)
>
> By default, I want to place every server in zenoss.
>
> I have a base
Hi Chris,
On 06 May 2016, at 15:46, christg76 wrote:
> Hi, I'm fairly new to Puppet and have been given the project of upgrading an
> existing Puppet 2.7 site (Puppetmaster with Apache/Passenger, and MySQL for
> exported resources, with hundreds of clients), possibly to
Hi,
in the trainings I recommend to participants to never have references to
declarations outside of the class to prevent hidden class or even module
dependencies.
Therefor I decided to do a lint plugin:
https://github.com/voxpupuli/puppet-lint-reference_on_declaration_outside_of_class-check
Hi Cesar,
On 18 Apr 2016, at 12:05, César wrote:
> Hi all,
>
> I have been looking for some docs to get more information on the subject, but
> I have not been able to find them. Apologies if this has been asked before!
>
> I'm curious about what happens when a puppet agent
On 31 Mar 2016, at 17:28, Jakov Sosic <jso...@gmail.com> wrote:
> On 03/31/2016 05:10 PM, Martin Alfke wrote:
>
>> You are passing a Hash as an parameter to a define.
>> Inside the define you expect the parameter to be of type String - according
>> to what you do
Hi,
On 31 Mar 2016, at 16:38, Jakov Sosic wrote:
> Hi guys,
>
> I have a `test.pp` manifest that looks like:
>
>
> ```
> define basket($arg) {
> file { "/tmp/$name":
>ensure => present,
>content => $arg,
> }
> }
>
> foobar = {
> 'fruit' => { arg => 'apple' },
>
Hi Arfoz,
this is the best example on how to _not_ do classes.
Every class should be self contained - as long as possible.
In your case you have a hard reference from one resource inside a class to
another resource inside another class.
I always tell my training course attendees that they should
Hi Manuela,
On 30 Mar 2016, at 12:51, 'Manuela Mueller' via Puppet Users
wrote:
> Dear All,
>
> I'm trying to set up a small module in order to test defined resource types.
> Module should create 2 users, data are in host specific yaml file pieps.yaml.
> When I
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
On 23 Mar 2016, at 12:23, Henrik Lindberg <henrik.lindb...@puppetlabs.com>
wrote:
> On 23/03/16 11:24, Martin Alfke wrote:
>>
>> On 22 Mar 2016, at 22:53, Carthik Sharma <cart...@puppetlabs.com> wrote:
>>
>>> To answer the question in the s
On 22 Mar 2016, at 22:53, Carthik Sharma wrote:
> To answer the question in the subject, you're correct, as documented here for
> Puppet 3.8
>
> https://docs.puppetlabs.com/puppet/3.8/reference/environments_classic.html#allowed-names
Is this only for Puppet 3.8 or is
Hi Mamadou,
Puppet OpenSource also supports windows:
https://docs.puppetlabs.com/windows/
Best,
Martin
On 06 Mar 2016, at 10:13, Mamadou CHERIF wrote:
> Hello Team,
>
> I am a noob on automation.
> I should choose one tool between Puppet, CHEF and Spacewalk.
> I
Hi
On 05 Mar 2016, at 11:18, dE wrote:
> Hi.
>
> I've made a class in the $basemodulepath location --
>
> puppet config print | grep basemodulepath
> basemodulepath = /etc/puppetlabs/code/modules:/opt/puppetlabs/puppet/modules
>
> ls -R
anks,
>
>
> On Monday, February 29, 2016 at 11:09:49 AM UTC-5, Martin Alfke wrote:
>
> On 29 Feb 2016, at 16:17, moons...@gmail.com wrote:
>
> > I have installed puppet 4.3 in Centos 7.
> >
> > I have checked /var/log/puppetlbas. Not sure whic
> mcollective-metadata-cron.log
> postgresql
PuppetDB is a REST to PGSQL interface and has its logs here
> mcollective.log
> puppetdb
This is where puppetdb stores its logs.
>
>
> Thanks,
> Chaitanya
>
> On Monday, February 29, 2016 at 10:12:01 AM UTC-5, Martin
Hi,
On 29 Feb 2016, at 15:59, moonsun1...@gmail.com wrote:
> Hi All,
>
> I have install puppet enterprise 4.3 version. May I know where can i see log
> files.
PE 2015.3.x or FOSS Puppet 4.3?
>
> i have checked /var/log/messages it is not updating.
Logs should be in /var/log/puppetlabs/
Hi,
On 28 Feb 2016, at 00:39, Robert Davidson wrote:
> I'm quite certain that there's something in the documentation that I'm
> missing here. (It has all the hallmarks of an Own Damn Fault situation.)
> Nonetheless, as I'm getting nowhere, I figure I'll fling out a
Hi Sam
On 03 Feb 2016, at 16:28, Sam wrote:
> My hiera entries -
>
> mysqlconfig::custom_mysql_options:
> mysqld:
> replicate-ignore-db: 'test'
> server-id: 12
> datadir: '/data/mysql_data'
>
>
> I want to get the value of datadir in my puppet module.
On 29 Jan 2016, at 21:44, Sans wrote:
>
> Hi there,
> Need to iterate over an arry, so was trying the Future Parser. Using a very
> simple example:
>
>
>
> $alpha = ['a','b','c']
> each($alpha) |String $value| { notice( "Hi there, ${value}" ) }
>
> but getting
Hi Matt,
an ENC can set an environment for a node.
In case that a node does not specify an environment it will make use of
environment production.
You can specify node environment on the node in puppet.conf in agent section:
[agent]
environment = apt
Best,
Martin
On 28 Jan 2016, at 18:13,
Hi Kyle,
On 30 Jan 2016, at 01:27, Kyle Flavin wrote:
> On Friday, January 29, 2016 at 3:44:24 PM UTC-8, Garrett Honeycutt wrote:
> Hi Kyle,
>
> I think you have a scoping issue, try using the double colons for the
> puppet class, such as 'class foreman-proxy::puppet
On 30 Jan 2016, at 13:48, Tim Coote wrote:
> What's the best way to test upgrades of puppetmaster? I'm trying to migrate
> from 3.x to 4.x on a small network. An obvious step for me was to create the
> new manifests on a new VM and then to confirm that the existing
You need to specify all attributes of the resource type usage as parameters at
the define:
accounts::virtual { ‘mysql’:
uid=> ‘…’,
shell => ‘…'
home => ‘…’,
realname => ‘…’,
pass => ‘…’,
}
define accounts::virtual (
$uid,
$shell => ‘…’,
$home => ‘…’,
$realname =>
Hi Andreas,
> On 11.01.2016, at 13:47, Andreas Dvorak wrote:
>
> Hi,
>
> after the update of the puppet master from 3.3.1 to 3.6.2 a host gets a
> catalog even if it is not defined in manifests. Is this a new funcationality?
> I did not see anything in the release
Hi Rudy,
Great idea and work!
I really appreciate supporting less advanced countries.
Maybe you want to also look at our new Puppet documentation/slide/example
project: http://www.example42.com/guide/
I encourage people to start using self developed modules (but with a prefix for
the module
Hi Nathan,
On 22 Dec 2015, at 18:54, Lindsey Smith wrote:
>
>
> On Tue, Dec 22, 2015 at 9:36 AM, nathan joiner
> wrote:
> Good Morning,
>
> I'm trying to setup PE puppet master server and a windows agent node but I'm
> getting "no
Hi Fraser,
On 20 Dec 2015, at 10:00, Fraser Goffin wrote:
> Forgot to mention, if I run puppet lint over the RedHat::install.pp manifest
> this error occurs (I don't know whether this is because I am running that on
> Windows - with osfamily set to 'RedHat' or not) :-
>
>
On 15 Dec 2015, at 07:33, 辛建国 wrote:
> hi,when I exec "sudo -u puppet /etc/puppet/node.rb puppet.server.com"
> command on puppet server ~ it turned out that ": No such file or directory",
> but when I run "sudo -u puppet ruby /etc/puppet/node.rb puppet.server.com"
>
Hi Lee,
On 08 Dec 2015, at 20:12, Lee Lowder wrote:
> All,
>
> I recently upgraded my Puppet (open source) install to Puppet 4.3.0.
>
> I'm currently in the process of updating internal documentation and training
> the rest of my teams, but I was wondering if anyone had
Hi,
On 09 Dec 2015, at 14:08, ddns...@gmail.com wrote:
> Hello Group,
>
>
> I am working on a module to handle mounting of NFS mounts.
> Puppet: 3.7.1
> Hiera: 1.3.4
>
> I have already tested it in my lab machine and it works as expected:
>
> mytestserver.example.com.yaml
> nfsmounts:
>
(inline)
On 09 Dec 2015, at 14:30, Christopher Wood <christopher_w...@pobox.com> wrote:
> (inline)
>
> On Wed, Dec 09, 2015 at 09:19:13AM +0000, Martin Alfke wrote:
>> Hi Lee,
>> On 08 Dec 2015, at 20:12, Lee Lowder <thefried...@gmail.com> wrote:
>>
&
er 9, 2015 at 11:12:31 PM UTC+8, Martin Alfke wrote:
> Hi,
> On 09 Dec 2015, at 14:08, ddn...@gmail.com wrote:
>
> > Hello Group,
> >
> >
> > I am working on a module to handle mounting of NFS mounts.
> > Puppet: 3.7.1
> > Hiera: 1.3.4
> >
Hi Nikhil,
please paste the log file (/var/opt/puppetlabs/puppetserver/puppetserver.log)
into gist (not a screenshot).
http://gist.github.com/
I assume that the error is at the end of the file.
Did you run the journalctl -xn command (like mentioned in the output)?
The error log snippet you
Hi,
On 05 Dec 2015, at 04:16, Nikhil Rao wrote:
> I tried to install puppet enterprise from puppet master and while selecting
> monolithic installation and setting upto 500 nodes and setting up the DNS
> name and the alias name and encountered an error WARNING 1: set 2
Hi,
On 02 Dec 2015, at 17:12, John Oliver wrote:
> I have puppet-server 3.8.3 and am working on making that go with a Mac
> running 10.10.5 "Mavericks". I installed puppet-agent-1.2.6-1.osx10.10.dmg
> When I run 'puppet agent --test' on the Mac, I get:
Puppet-agent is
Hi Francois,
On 30 Nov 2015, at 05:09, Francois Lafont
wrote:
> Hi,
>
> I'm using Puppet 4 and I'm wondering if this (see below) is possible.
>
> I have 2 Puppet modules, moda and modb. We can imagine that theses modules
> have just one class init.pp. The
I assume you have Rakefile, spec/spec_helper.rb and .fixtures.yml in place as
well?
On 27 Nov 2015, at 21:23, Peter Berghold wrote:
> So,
>
> Now that my schedule has some slack in it I've turned my attention back to
> doing spec testing of my Puppet modules.
Hi Haani,
On 15 Nov 2015, at 06:58, Haani Niyaz wrote:
> Our SOE document states that all repositories should be disabled by default
> and enabled on installing a package. So when we write modules our package
> resource more or less looks like this:
>
> package {
On 10 Nov 2015, at 20:33, Arnau wrote:
> Hi,
>
> >
> > I see two possible entry points for your problem:
> >
> > 1. environment specific hiera data
> > according to your hiera.yaml file you have hieradata per environment.
> > can you please cross check that the
Hi Arnau,
On 10 Nov 2015, at 14:23, Arnau <listsar...@gmail.com> wrote:
>
>
> 2015-11-10 14:39 GMT+01:00 Martin Alfke <tux...@gmail.com>:
> Hi Arnau
> Hi Martin,
>
> Are your hiera data generic or specific to environments?
>
> specific to hiera.
>
Hi,
On 06 Nov 2015, at 14:38, choffee wrote:
> I have a define which takes a yaml file as a parameter and want to check that
> my template creates valid yaml.
>
> I am currently using regexp to test bits of it like so
>
> should
Hi Arnau
On 10 Nov 2015, at 13:19, Arnau wrote:
> …
> in hiera defaults.yaml I've also defined a couple of nagios::client[1]
> variables (for not including selinux):
>
> $cat hieradb/defaults.yaml
> [...]
>
> nagios
> ::client::selinux: 'false'
>
> nagios
>
Hi Marc,
> On 24.09.2015, at 14:54, Marc Haber wrote:
>
> Hi,
>
> I am looking for a puppet agent rpm that can run against a puppet 4
> server (and can use its features) for RHEL 7 on ppc 64. On
> yum.puppetlabs.com, I can only find binaries for agent 1.2.4
Hi Bret,
On 08 Oct 2015, at 09:08, Bret Wortman wrote:
> So I upgraded our Puppet server to Fedora 22, which brought with it an
> upgrade from Puppet 3.8-ish to 4.1.0-5. And as this wasn't expected (I should
> have read and studied more -- it's definitely my fault), a
Hi Sergiu,
On 07 Oct 2015, at 09:12, Sergiu Cornea wrote:
> Hello guys,
>
> I am passing 4 arrays in the Hiera file a: {a,b,c} b: {d,e,f} c: {g,h,i} d:
> {j,k,l} which I am using them in an .erb template. However, when I am trying
> to run Puppet it is
On 06 Oct 2015, at 11:39, rjl wrote:
> Hi All,
> I have an odd requirement to contend with. We have puppet clients that have
> peers. While a catalog is being executed on one client, its peer must not
> execute its catalog until the other is complete. Each client has only
On 20 Sep 2015, at 18:00, Martin Alfke <tux...@gmail.com> wrote:
>
> On 19 Sep 2015, at 21:14, rhpuppetu...@gmail.com wrote:
>
>> Thanks Martin for replying. By the way, i'm following your seminars on
>> youtube and they are very helpful. The error still
eproduce this error on Debian 7 with puppetserver 2.1.1
I have opened a ticket at PuppetLabs:
https://tickets.puppetlabs.com/browse/SERVER-905
>
> =====
>
>
> On Friday, September 18, 2015 at 1:51:44 AM UTC-5, Martin Alfke wrote:
>
> On 18 Sep 2015, at
one you want to disable.
service apache|nginx|httpd will start the passenger rack application.
The web server name depends on
- which web server
- which distribution
>
> On Friday, September 18, 2015 at 1:40:22 PM UTC+5:30, Martin Alfke wrote:
>
> On 18 Sep 2015, at 09:49, Vishal Goel
On 18 Sep 2015, at 09:24, Vishal Goel wrote:
> I am experiencing a very strange error in puppet. I have around 4-5
> environments in my puppet codebase and whenever i add a new environment, it
> doesn't work. Even thought the code of new environment added is almost
>
On 18 Sep 2015, at 04:08, rhpuppetu...@gmail.com wrote:
> Our puppet master used to run using apache passenger stack. We've recently
> migrated from passenger to puppetserver. When i run puppet agent -vt on my
> client, its showing the following error.
>
> Error 400 on server : could not
2:29 ?00:00:05 /usr/bin/ruby1.8
> /usr/bin/puppet master
This is the ruby webrick process. Kill this one!
>
>
>
> Maybe the problem is with them?
>
>
> On Friday, September 18, 2015 at 1:02:48 PM UTC+5:30, Martin Alfke wrote:
>
> On 18 Sep 2015, at 09:24, V
As a module developer I want to provide a module which will do sane defaults
without forcing users to hiera.
Module developer (at the moment) put OS and application defaults into params.pp.
As a user you might want to override these defaults and specify them either as
a parameter or via hiera.
Hi Fred,
On 05 Sep 2015, at 19:36, Frédéric Lespez wrote:
> Hi,
>
> Inside a manifest, you can know if noop is enabled thanks to the $clientnoop
> variable[1].
> But inside a custom function, how can you know it ?
$clientnnop is a fact [1]
You can access facts from
On 17 Aug 2015, at 11:38, Ayyanar ayyanar@gmail.com wrote:
I don't want to fetch the configuration for particular interval.
example default runintervel = 30min.
I want to never fetch the configuration.
How to set this value.
The “default_runinterval” only has a meaning when you have
Hi Oli,
there are a couple of tickets at PL regarding jessie support as puppet server:
https://tickets.puppetlabs.com/browse/CPR-111?jql=text%20~%20%22jessie%22
https://tickets.puppetlabs.com/browse/CPR-111?jql=text%20~%20%22jessie%22
Unluckily no delivery date has been given so far.
Best,
, not with normal variables
inside a manifest.
With foreman you should also be able to create a group setting based on
timezone fact (I don’t have access to foreman right now, so I can not verify).
Best,
Martin
Thanks,
EddieM
On Sunday, August 9, 2015 at 5:35:07 PM UTC+3, Martin Alfke wrote
Hi Eddie,
On 09 Aug 2015, at 16:25, Eddie Mashayev eddie...@gmail.com wrote:
Hi All,
I have many servers spread in 3 different time zones USA (NY and San
Francisco) and also in ISR. Have 3 NTP servers, one NTP server in each
location.
https://forge.puppetlabs.com/puppetlabs/ntp module
Hi,
is there the possibility in Puppet 4 to provide own data types.
e.g.
Fullpath $path
instead of
Regexp[/\/.*/] $path
or
Pattern[/\/.*/] $path
thanks,
Martin
--
You received this message because you are subscribed to the Google Groups
Puppet Users group.
To unsubscribe from this group
Hi Peter,
On 04 Aug 2015, at 21:37, Peter Berghold salty.cowd...@gmail.com wrote:
Is there a newer set of documents on doing Spec testing of Puppet modules
than this link?
https://puppetlabs.com/blog/the-next-generation-of-puppet-module-testing
I am running into a brick wall getting this
Hi,
On 04 Aug 2015, at 12:24, Arnaud Gomes-do-Vale arn...@glou.org wrote:
Hello,
I am trying to manage my dsh groups with Puppet. The way I'm trying to
do this:
- each node has a block like this in its manifest:
@@file_line { ${::fqdn} in dsh group ${group}:
line = $::fqdn,
On 04 Aug 2015, at 00:39, Mike Reed mjohn.r...@gmail.com wrote:
Hello all,
I've been trying to solve what seems to be a simple problem but have yet to
find the answer.
I'm trying to do a comparison between the value of a fact and some arbitrary
value:
if ($::class ==
On 04 Aug 2015, at 13:30, Arnaud Gomes-do-Vale arn...@glou.org wrote:
Martin Alfke tux...@gmail.com writes:
@@file { “/etc/dsh/group/${group}”:
ensure = file,
tag = ‘dsh’,
}
File || tag == ‘ssh’ | - File_line | tag == 'dsh' |
This creates files when required and takes care
Hi,
On 04 Aug 2015, at 10:26, Sergiu Cornea s.cor...@my.westminster.ac.uk wrote:
Good morning guys,
When I am running Puppet in noop shouldn't Rsync do a dry-run in order to
show me what files have changed or if they are the same?
—noop refers to the agent only.
Everything else takes place
Hi Grant,
On 14 Jul 2015, at 20:03, Grant Schoep matobin...@gmail.com wrote:
Using Puppet 3.6 now, but will be upgrading to 3.8 shortly. All running on
CentOS 7
So I am setting up a small network to be used in testing application
deploys/OS. The idea is basically this.
1. Build out a
Hi Felix,
seems as if Jessie is missing the apt-sources.
Remove the sources line from /etc/apt/sources.list.d/filename
and rerun apt-get update
best,
Martin
On 06 Jul 2015, at 01:37, Felix Frank felix.fr...@alumni.tu-berlin.de wrote:
Hi,
has anyone tried the PC1 on jessie yet? I just did
Hi,
On 02 Jul 2015, at 10:29, Ayyanar ayyanar@gmail.com wrote:
1. I am executing two shell script in puppet agent.
2. In first shell script setting env variable in bashrc file. example export
JAVA_HOME=/opt/jdk1.8.0_45 bashrc file and i sourced bashrc file.
Do not do this via an
Hi Tim,
the agent wants to fetch the file
puppet:///modules/bacula/monitor1/monitor1.mydomain.com.crt
But on the Master you are shooing us a file with the name:
environments/production/modules/bacula/files/monitor1:
total 8.0K
-rw-r--r--. 1 puppet puppet 2.0K Jun 16 21:53
Have you tried running facter -p
This will also pull the pluginsynced facts.
(I am unsure which version has puppet facter)
On 29 May 2015, at 11:21, Jonathan Gazeley jonathan.gaze...@bristol.ac.uk
wrote:
Hi folks,
Since upgrading to Puppet 3.8.1 my Facter (2.4.4) has been throwing this
crops up when puppet or mcollective execute facter too.
Thanks,
Jonathan
On 29/05/15 12:25, Martin Alfke wrote:
Have you tried running facter -p
This will also pull the pluginsynced facts.
(I am unsure which version has puppet facter)
On 29 May 2015, at 11:21, Jonathan Gazeley
to proceed
I have tried 3 times and I thing this is a bug with the product.
Please advice of any solution.
Thanks
On Saturday, May 2, 2015 at 3:58:39 AM UTC+10, Martin Alfke wrote:
Confirmed.
This package list also solves installation issue on Ubuntu 14.10
Many thanks,
Martin
, 2015 at 8:03:25 AM UTC-5, Martin Alfke wrote:
Hi,
I am working on some types and providers for opennebula network management.
I have one type already finished, which creates the network itself.
Each network can have multiple address ranges.
My idea so far:
onevnet { ’testnet
Hi,
I am working on some types and providers for opennebula network management.
I have one type already finished, which creates the network itself.
Each network can have multiple address ranges.
My idea so far:
onevnet { ’testnet’:
ensure = present,
…
}
onevnet_addressrange { ‘name’:
the agent sends facts to master.
you want to look for facter extensions to geht data from agent to master.
On Apr 29, 2015 3:27 PM, saji...@wso2.com wrote:
Is there a way to pass parameters from agent to master?
--
You received this message because you are subscribed to the Google Groups
On 28.04.2015, at 11:17, rto...@gmail.com wrote:
Does puppet support provisioning the juniper SRX-5400.
I could not find yet. If yes then could you please direct me in right
direction with some available documents.
On 07 Apr 2015, at 04:55, Dave Hunsinger dhuns...@calliduscloud.com wrote:
Can somebody help me with what I'm doing wrong here? I want to copy all
sshkeys in the file resource of this puppet module to the machine:
class sshkeys {
file { '/etc/ssh/ssh.keys':
ensure = directory,
On 06 Apr 2015, at 17:35, Dhaval d.josh...@gmail.com wrote:
hello,
I am trying to develop puppet module for k5login entries .. now my question
is, how do i manage entries for multiple hierarchies ?
currently when i try it, it picks up from where it finds entry first and
completes it,
I really like the approach of m::in { auto: } and m::cf { auto: } to have my
systems up and running in seconds.
I just think of my new configuration to change and everything works. ;-)
no more manual work. more beertime.
And: the future fix script works as documented. ;-)
happy hacking!!
On 01
Hi James,
a horrible task (I am still busy at a customer upgrading the puppet DSL code
from 2.7.23).
You want to get rid of:
- non-scoped variables (in manifests, modules and templates)
- import in class files
You might need to:
- clean up node classification
- rewrite classes to have
Hi,
the best way is to start with learning puppet vm and the according website:
https://docs.puppetlabs.com/learning/index.html
https://docs.puppetlabs.com/learning/index.html
At https://puppetlabs.com/learn https://puppetlabs.com/learn you have the
possibility to get a guide through Puppet
on the puppet agent command line or not. What
am I missing? I need the class to deploy if and only if specified.
Thanks...
On Wednesday, March 4, 2015 at 10:05:34 AM UTC-5, Martin Alfke wrote:
Hi,
On 04 Mar 2015, at 15:57, Steve Harp steve...@rdasys.com wrote:
Hi Guys,
I'm using Puppet
Hi,
On 04 Mar 2015, at 15:57, Steve Harp steve.h...@rdasys.com wrote:
Hi Guys,
I'm using Puppet for many configuration items and package deployments. I
need to be able to only deploy certain packages/classes when the Agent sends
a definable command line option.
Example: puppet agent
The single quotes take the argument as it is.
In this case you are looking for a line with *xyz*
Maybe you want to try double quotes.
hth,
Martin
On 25 Feb 2015, at 13:58, Andreas Dvorak andreas.dvo...@gmail.com wrote:
Dear all
I would like to use the stdlib Modul with file_line to delete
Hi Subodh,
you might want a repository mirror inside your network.
Or: add a local repo only having the required packages.
Or: install required packages during provisioning.
Best,
Martin
On 18 Feb 2015, at 07:26, Subodh Kant sk14...@gmail.com wrote:
Hi Martin,
Thanks.
Is there any way
Hi Subodh,
when using the simple curl puppet agent installer method you will get a repo
file created on the node and the puppet master acts as pe-package repository
server.
All non PE packages have to be installed using the normal cents/rhel
repositories.
hth,
Martin
On 17 Feb 2015, at
Hi Subodh,
does the agent have the CentOS/RHEL repositories enabled?
Look into /etc/yum.repos.d and check for *.repo files.
hth,
Martin
On 17 Feb 2015, at 07:52, Subodh Kant sk14...@gmail.com wrote:
Hi Puppet Team,
I am facing Dependencies issue for puppet agent installation. Please help
Hi Subodh,
the Puppet master generates a catalog for the agent.
Within the catalog the agent receives information regarding its configuration.
The agent will then issue proper commands based on the declared Puppet resource
types.
For packages the agent (RHEL, CentOS) will use the yum command.
to inspect all exported
resources to analyse what to collect and what not.
Fix: set a sane default for all parameters in exported resources.
- Martin
On 20 Jan 2015, at 16:02, Martin Alfke tux...@gmail.com wrote:
Hi,
I have the following code:
define monitor::host (
$target,
$monitortag
Hi,
On 27 Jan 2015, at 13:45, Przemysław Szypowicz p.szypow...@gmail.com wrote:
Hi,
When I locally apply manifest:
file{'/tmp/cert.pem':
ensure = present,
content = file(/var/lib/puppet/ssl/private_keys/${::clientcert}.pem),
}
its working as expected.
But when thats manifest
Hi,
I have the following code:
define monitor::host (
$target,
$monitortag = $::domain,
) {
}
…
}
The define gets exported on all nodes:
@@monitor::host { $::fqdn: }
And I collect on the monitor server:
Monitor::Host | | {
target = ‘/full path to config’,
}
This is working as expected
When using an array on a resource title Puppet will internally create multiple
resource declarations.
e.g.
when declaring like this:
package { [‘foo’, ‘bar’, ‘bas’]: ensure = present }
You can build references on each of the array elements:
require = Package[‘bas’]
see:
--norhnsd
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de:
NOKEY
real 0m15.558s
user 0m9.997s
sys 0m0.704s
[root@labit-lg02 ~]#
בתאריך יום ראשון, 18 בינואר 2015 בשעה 15:46:38 UTC+2, מאת Martin Alfke:
The 48 seconds is the complete time the agent needs
The 48 seconds is the complete time the agent needs for the catalog.
Within the catalog you are running two commands:
spacewalk-channel -l and rhnreg.
Please add both execution times when comparing.
On 18 Jan 2015, at 08:29, Royee Tager royee...@gmail.com wrote:
Hi,
If I run the following
Hi,
with RH6 you can use yum provider and set ensure to latest.
(Maybe you need to create a yum repo for your factor package).
hth,
Martin
On 14 Jan 2015, at 18:34, puppetstan stanislas.lev...@gmail.com wrote:
Hi,
I would like to update the package facter on all of my servers. (I can not
Hi,
class otrs::apache {
include apache
apache::vhost { $otrs::sitename:
priority= '01',
docroot = '/var/www',
port= '80',
serveraliases = [ $::fqdn ],
content= template('otrs/vhost-otrs.conf.erb'),
}
Error: Invalid
Seems to be an issue with unscoped variable inside the template.
https://docs.puppetlabs.com/guides/templating.html#referencing-variables
Please switch to scoped variables in your template:
# OTRS Config
# MaxRequestsPerChild (so no apache child will be to big!)
MaxRequestsPerChild 4000
Hi,
On 08.01.2015, at 09:52, Raphael raphael.k...@gmail.com wrote:
Hi,
I have a working puppetmaster installed from package on an ubuntu server
14.04 64bits.
I've been struggeling for a while now with hiera to achieve what it is
written in the doc ;
My hiera version is 1.3.0
201 - 300 of 438 matches
Mail list logo