On Wed, Feb 20, 2019 at 3:19 AM Garrett Honeycutt
wrote:
> On 2/19/19 4:23 PM, Peter Krawetzky wrote:
> > I'm trying to an SSL connection from puppetserver to a couchdb no-sql
> > database for hiera lookup data. I have both hiera-http and lookup_http
> > installed however the version of lookup_h
On Sun, May 6, 2018 at 9:26 PM, Robert wrote:
>
> And the problem: sometimes I'd like to have teams to control only a
> specific application, on a server which is already delegated to a team.
> E.g. the backup admins should be able to configure the backup software's
> agent on Oracle *and* webser
/message: defined 'message' as 'bar'
On Fri, Oct 6, 2017 at 9:35 AM, Craig Dunn wrote:
>
>
> On Thu, Oct 5, 2017 at 6:44 PM, Henrik Lindberg <
> henrik.lindb...@puppet.com> wrote:
>
>> On 04/10/17 08:54, John Baird wrote:
>>
>>>
>
On Thu, Oct 5, 2017 at 6:44 PM, Henrik Lindberg
wrote:
> On 04/10/17 08:54, John Baird wrote:
>
>>
>> Something like "lookup('/path/to/somefile.txt', scope=false)"... In this
>> manner, the user and more specifically, each lookup call can determine
>> whether or not to include the dotted key.
>>
s
Craig
>
> With regards,
>
> Jos Houtman
>
>
> On Monday, October 2, 2017 at 1:18:54 PM UTC+2, Craig Dunn wrote:
>>
>>
>> I've been having the exact same conversation with Henrik as I also need
>> to write tests for hiera-mysql, hiera-http a
I've been having the exact same conversation with Henrik as I also need to
write tests for hiera-mysql, hiera-http and the Jerakia Hiera 5 backend
He suggested copying the approach used by yaml_data and json_data Puppet
core but theres a few problems with this. Firstly it uses
puppet_spec/comp
On Thu, Sep 14, 2017 at 8:53 PM, John Baird wrote:
> I am currently implementing the "hiera-http" custom backend written by
> crayfishx located: "https://github.com/crayfishx/hiera-http";.
>
> I have some custom classes that need to run through an iteration of hiera
> hashes and perform lookups o
On Thu, Nov 24, 2016 at 6:41 PM, Dan White wrote:
> Suggestion one: Use a newer version of Puppet.
>
OP mentioned he was using Satellite so just upgrading Puppet is not as
simple as it sounds, since satellite 6.2 ships with Puppet 3.8 and it quite
tightly integrated by default... it's worth noti
On Tue, Nov 15, 2016 at 5:21 PM, Ugo Bellavance wrote:
>
> # puppet -V
> 2.7.26
>
>
>
[snip]
It's the first time I try using tidy, am I missing something obvious?
>
>
The year?
I'm not trying to be flippant but you are trying to solve a problem on
software that was end of life many years ago now
On Wed, Nov 16, 2016 at 10:51 AM, Craig Dunn wrote:
>
>
> On Wed, Nov 16, 2016 at 10:42 AM, Albert Shih
> wrote:
>
>> Le 16/11/2016 à 10:34:36+0100, Craig Dunn a écrit
>>
>> > # Tomcat class has an attribute called "catalina_home" whic
On Wed, Nov 16, 2016 at 10:42 AM, Albert Shih wrote:
> Le 16/11/2016 à 10:34:36+0100, Craig Dunn a écrit
>
> > # Tomcat class has an attribute called "catalina_home" which is looked
> up from
> > hiera data binding
> > include ::tomcat
> >
>
On Wed, Nov 16, 2016 at 10:18 AM, Albert Shih wrote:
> Le 16/11/2016 à 09:34:50+0100, Craig Dunn a écrit
>
>
> This is exaclty what I try to do. Event I sometime use create_resources (or
> now loop). But I don't see how I can do for a data needed by two profile
> like a
On Wed, Nov 16, 2016 at 8:45 AM, Albert Shih wrote:
> Hi,
>
> When I read some recommendation about using hieradata/profile/roles I
> always find people saying to put the data inside the profile (in hiera)
> like
>
> profile::cms::key1: value1
> profile::mysql::key2: value2
> profile::webserveur:
On Mon, Nov 7, 2016 at 2:47 PM, R.I.Pienaar wrote:
>
> Anyway, if others have experiences and suggestions, they're welcome.
>
>
> Check out gogs.io. Doesn't have CI built in but it's so light and easy to
> deploy and run it's well worth a consideration over gitlab
>
>
>
Gogs is very good, especial
On Fri, Oct 28, 2016 at 7:45 PM, Christopher Wood <
christopher_w...@pobox.com> wrote:
>
>
> So how would I auto-magically auto-paragraph hiera yaml to make it
> friendlier for more people, while still keeping it syntactically valid?
>
>
> Example two:
>
> ---
> one::services::enabled: true
>
> on
subscribe and notify are metaparameters, as Peter Faller has already
pointed out. They do exactly the same thing in reverse of eachother,
resource A notifying resource B has the same effect as resource B
subscribing to resource A. It's generally better to use subscribe in most
cases for readabili
On Wed, Sep 21, 2016 at 9:33 AM, Peter Faller wrote:
> What is the effect of the 'require' metaparameter when ensure is set to
> absent, i.e. when a resource
> is removed? It seems that changes to the required resource are applied
> before changes to the requiring
> resource are applied - is that
I agree with Lowe Schmidt.
Wrong tool for the job. "connect on some servers through SSH and run some
command lines" sounds like command orchestration, not configuration
management - Rundeck, ansible...etc as said.
On Mon, Aug 15, 2016 at 3:57 PM, Lowe Schmidt wrote:
> Hey,
>
> no, sorry. Pup
On Thu, Aug 4, 2016 at 8:17 AM, Alex Samad wrote:
> Hi
>
> I want to take ${trusted['certname']} and extract the hostname short form
> from it.
>
> so if i had thisbox.abc.com.au. I would like to get just thisbox
>
$hostpart=split($trusted['certname'], '[.]')[0]
... would be a cleaner approac
On Tue, Aug 2, 2016 at 2:57 PM, Joseph Lorenzini wrote:
> Hi all,
>
> I am having a problem with external node classier. Here's the yaml output
> from the enc executable.
>
> https://gist.github.com/jaloren/f7599e96c6a8c47591eb395f4680d48c
>
> The yaml output inludes a parameterized class. When p
On Fri, Jul 29, 2016 at 5:53 PM, Luke Bigum wrote:
> Can someone explain this to me? I thought I'd be able to change the title
> of a nagios_host resource but leave name_var the same to effectively write
> two nagios_host files to disk with the same content, but instead I'm
> triggering an error
>From reading your comments I think maybe you are misunderstanding what the
defined() function does. This function is run *server side* during the
compilation of the catalog and is saying "If this Puppet resource exists in
the catalog, yet". It is not saying "If this resource is configured on th
On Mon, May 16, 2016 at 3:05 PM, Harish Kothuri
wrote:
> Thanks Craig,
>
> It works fine now.
>
Cool.
>
> The reason am not using "file" is , it is taking more time to copy file
> from share than executing the simple command.
>
>
If you can quantify that with some test results it may be worth
On Mon, May 16, 2016 at 1:09 PM, Harish Kothuri
wrote:
>
> exec{ 'cmd /c copy /Y "\\shareloc\folder1\folder2\Mysoftware.msi"
> "${pypredest}"':
>
Your resource title is enclosed in single quotes which means everything
will be taken literally and your variable will not be interpolated
Somet
Hi,
I've automated IntegrationBus 9 for one of my clients - it's a bit of a
beast. I'd be happy to share the puppet module that I have written and
collaborate on it, it still has some custom quirks and it would be nice to
make it more generic and open source it.
Feel free to contact me off-list.
On Thu, Apr 14, 2016 at 4:34 PM, wrote:
> Hi,
> We need to manage many keys in Hiera. Since many people should be able to
> edit the keys and in order to avoid a complete mess I was thinking to work
> with many different files. The problem is that I don't know how to make
> Hiera read from new f
On Thu, Mar 10, 2016 at 3:09 PM, Thomas Müller
wrote:
> I'm too interested in how people manage credentials without having it in
> the catalog.
>
The problem as I see it is that there isn't a blanket approach. If you
need a secret value in a template, that template is already compiled into
the
On Thu, Mar 10, 2016 at 12:05 PM, Johan De Wit wrote:
> Hi,
>
> Anyone playing with the idea to manage passwords on the node by retrieving
> them from an externa source like cyberark ?
>
> The idea is to avoid storing passwords in some 'human readable' form in eg.
> hiera, manifests, catalogs,
On Tue, Feb 23, 2016 at 12:41 AM, Tim Dunphy wrote:
> Craig and Christan.. thanks for your input! What I was trying to do with
the
> 'refreshonly' statement was to get the exec statement to run only once.
>
> How would I be able to achieve getting the exec command to run only once?
There are a n
On Mon, Feb 22, 2016 at 8:14 AM, Tim Dunphy wrote:
> Hey guys,
>
> I wrote an exec class for one of my modules. And for some reason, on puppet
> runs it's not executing.
>
> Here's the class:
>
> class bacula::exec {
>
> exec { 'create.mysql.admin.user':
> path => "/bin",
> command =>
>> I want to get the value of datadir in my puppet module. Please let me know
>> what is the syntax I need to use to fetch this value. I tried something as
>> follows but it doesn't work.
>>
>>
>> $datadir = hiera('mysqlconfig::custom_mysql_options[datadir]’)
>
> With hiera you can only specify k
This also depends if your requirement is only restricting users access
to data. If thats all you need then to me this is falls more into
what tool you use to store and edit your data, rather than the one you
use to look it up, you might be able to use a hiera backend more
advanced than the simple
Albert,
Is it possible that your application can manage the line it needs to manage in
a separate file to php.ini? If so you can use a combination of concat's source
and content attributes to manage this.
If for example, your application can manage a file containing just the one line
in /etc
Your code snippet suggests that facter has run, and the master is
timing out running /etc/puppet/node.rb which is the ENC script (which
happens after the facts have been sent by the agent). Are you
running Foreman/Satellite? - It sounds like you may have a network
connectivity issue here between
On Thu, Sep 17, 2015 at 3:00 PM, jcbollinger wrote:
>
>
> On Wednesday, September 16, 2015 at 7:39:32 AM UTC-5, Sans wrote:
>>
>> Hi there,
>>
>> I got to solve a "rare" issue here which I'm running out of ideas for. In
>> our manifest, we do some conditional git pull (using vcsrepo forgemodule)
On Thu, Aug 20, 2015 at 6:16 PM, Andrew Hibbert
wrote:
> Hi,
>
> I'm looking into hiera particularly the http backend
> (https://github.com/crayfishx/hiera-http).
>
> I'm wandering when using hiera if a single lookup is done at the start of
> the puppet run or if everytime a value needs to be look
Hi all,
For anyone that is interested, I've decided to officially bring to an
end the hiera-gpg[0] project and will not be maintaining it going
forward.
hiera-gpg was one of the first additional backends written for Hiera
and was released 4 years ago (was it *really* that long ago?). It
gained a
On Fri, Jul 3, 2015 at 4:42 PM, R.I.Pienaar wrote:
> On teardown I don't care what stays and go, just want to try my best to kill
> things
>
> So the resources in question are varied and custom and spread over multiple
> hosts.
>
> So rather than a specific solution that involves just killing t
On Fri, Jul 3, 2015 at 3:10 PM, R.I.Pienaar wrote:
> hello,
>
> I am looking for a way to influence run order without also doing dependencies.
>
> I have a case where I am removing a bit of software from my system and so as
> is
> typical things need to be done in a different order from creation,
On Fri, Jul 3, 2015 at 3:10 PM, R.I.Pienaar wrote:
>
> I tried:
>
> exec{"false": before => Exec["true"]}
> exec{"true": }
>
> This fails because before implies a requirement.
If you don't care about a failure, why not always mask it to be true?
exec { '/bin/remove mystuff; /bin/true':
b
On Thu, Jul 2, 2015 at 9:51 PM, Nik Haldimann wrote:
> However, my impression is that a puppet master is usually deployed within a
> private networks (e.g., internal to a data center or as part of a private
> VPC subnet on AWS). For my use case I would have to open the master to the
> public inte
> My idea wos now to take the Ressource "file" and put in the path-option the
> path to the share of the syslog-system, like so:
>
> file { "$hostname.conf":
> ensure => present,
> path=> "//server/share/$hostname.conf",
> source => template("default_nxlog_debian/default.conf.e
>> Seems to work from the command line:
>>
>> [me@puppet puppet]$ sudo hiera ntp::servers ::fqdn=servers-fqdn
>> ::environment=production
>> ["0.us.pool.ntp.org iburst",
>> "1.us.pool.ntp.org iburst",
>> "2.us.pool.ntp.org iburst",
>> "3.us.pool.ntp.org iburst"]
>>
>> But not on the agents?
Did
On Thu, Jun 25, 2015 at 9:27 PM, leam hall wrote:
> We're looking to move from yaml and json to a database. What good options
> are along the lines of MySQL, Postgres, or MongoDB?
Are you talking about Hiera? If so, you can checkout hiera-mysql[1].
Or use something like CouchDB that's fronted wi
On Thu, Jun 18, 2015 at 4:34 PM, Peter Berghold wrote:
> So... what am I missing here?
hiera_include('classes') in site.pp?
--
Enviatics | Automation and configuration management
http://www.enviatics.com | @Enviatics
Puppet Training http://www.enviatics.com/training/
--
You received this me
still satisfied and your service resource will be acted
on. All you are doing is determining order.
On Thu, Jun 11, 2015 at 11:55 AM, Craig Dunn wrote:
> You haven't provided a command to run via the command attribute, so
> the provider will attempt to execute what you have in the
You haven't provided a command to run via the command attribute, so
the provider will attempt to execute what you have in the resource
title (checkForFile) - that is to say, it is trying to execute the
command 'checkForFile', which of course, doesn't exist.
As Denmat already pointed out, this may
The validate_* functions are designed to fail the catalog if the
passed variable doesnt match the defined type, sounds like you want
the is_* functions (also from stdlib) which return true or false but
dont fail.
if ( is_string($myvar) or is_hash($myvar) ) {
...
} else {
fail('not a string or
On Tue, Jun 2, 2015 at 3:35 PM, jcbollinger wrote:
>
>
> On Tuesday, June 2, 2015 at 2:55:16 AM UTC-5, jamese wrote:
>> You can also use calling_module, but that probably wouldn't give the
>> granularity that you want.
>
>
>
> Yes, one of these is the standard way to approach such problems, provi
On Mon, Jun 1, 2015 at 11:42 AM, Twan wrote:
> Hiera:
> session_managers:
> sm001.guest.lan:
> - agent01.guest.lan
> - agent02.guest.lan
> sm02.guest.lan
> - agent03.guest.lan
> - agent04.guest.lan
>
>
> I need to get the following:
> On session managers a list (comman
On Wed, Apr 1, 2015 at 5:23 PM, Dhaval wrote:
> Thanks for your time in explaining, what i understand is "roles and
> profiles" is different from Hiera and ENC which is used for providing data
> only. Let me search for example where Hiera is used and roles and profiles
> are defined to make diffe
I believe you are probably not declaring class { '::apache': } anywhere, or
it is declared after ::apache::mod::pagespeed, which means that
$::apache::mod::pagespeed::apache_version is nil (since the default doesn't
exist when the class is parsed), that's causing nil to be sent to
versioncmp() in t
On Tue, Aug 19, 2014 at 12:33 PM, Marc wrote:
Hi all,
>
> The code snippet below is an isolation of the problem I am facing.
> I don't understand why this produces a duplicate declaration.
> Can anyone give an explanation?
>
> *$ cat test.pp *
> *class foo { contain foo::bar }*
> *class foo::bar
I wouldn't even try to run two agent packages on the same node. But there
may be ways to configure one agent to do both tasks.
As far as I see it, your customer could run in masterless puppet apply mode
right out of the box, but would risk managing resources that you are also
managing therefore t
The resource title and namevar must be unique for any resource as
documented here...
http://docs.puppetlabs.com/puppet/latest/reference/lang_resources.html#uniqueness
Defined resource types follow the same rules and the $name variable is
always assumed to be a namevar.
Craig
On Mon, Mar 31,
Just to clarify, apt::source is a defined resource type, not a class.
Defined resource types can be required like any other resource, for example
package { [ 'libvirt-bin', 'vzctl' ]:
ensure => present,
require => Apt::Source['openvz'],
}
On Tue, Mar 11, 2014 at 1:13 PM, kai wrote:
> I h
Drop the :: from your hiera.yaml, it's being taken literally as '::role'
rather than defining scope.
Regards
Craig
On Tue, Mar 11, 2014 at 9:17 AM, Dirk Heinrichs wrote:
> Hi,
>
> I'm trying to categorize our Puppet agent nodes via custom facts. To do
> this, I've placed a simple text file "c
Next time I'll read the names of ticket contributors :) doh.
On Fri, Mar 7, 2014 at 3:11 PM, Craig Dunn wrote:
>
> You appear to be hitting this...
>
> https://tickets.puppetlabs.com/browse/ENTERPRISE-92
>
>
> On Thu, Mar 6, 2014 at 7:54 PM, Louis wrote:
>
>
You appear to be hitting this...
https://tickets.puppetlabs.com/browse/ENTERPRISE-92
On Thu, Mar 6, 2014 at 7:54 PM, Louis wrote:
> I have new Vagrant Box with a recent installation of PE 3.1.3 and it fails
> the upgrade with the following error.
>
> Complete!
> Loaded plugins: fastestmirror,
You can use and/or operators in collectors
Resource <| some == 'condition' and other == 'thing' |>
Regards
Craig
On Fri, Mar 7, 2014 at 11:58 AM, Brent Clark wrote:
> Good day Guys.
>
> Is it possible to specify more than two search items in a Resource
> Collectors tag?
>
> e.g.
> @@nagios_se
You seem to have a couple of misunderstandings here - Firstly what you call a
node definition isn't a node definition, that would look something like
node 'mynode-dev' {
include robin_dev
}
Secondly, you want to make your robin_dev class parameterized to achieve what
you want, e.g.:
class
If you change "gid => $gid" to "gid => $title" then you don't need any of
the require meta parameters in your user, group or file resource
declarations, they can be removed.
There is implied dependency between the gid of a user and the title of a
group, and between owners/groups of files and their
d/puppet-skeleton-standard
>
> and this alternative with Rip's data in module approach:
> https://github.com/stdmod/puppet-skeleton-standard/tree/hiera
>
> Al
>
>
> On Wednesday, February 26, 2014 10:37:59 AM UTC+1, Craig Dunn wrote:
>
>>
>> This is cool, t
This is cool, though I realise that it's a (self confessed) opinionated
module design, the only thing that really stands out for me is that it
follows a rather old, and limited, 'params.pp' pattern. There is no place
for Hiera in this model without hard coding hiera lookup functions in the
classe
n module and then your vhosts
in a separate class namespace (sites::vhost1)... that should work.
Regards
Craig
--
Craig Dunn
Professional Services
Puppet Labs Inc.
http://www.puppetlabs.com
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" g
http://docs.puppetlabs.com/puppet/3/reference/release_notes.html#automatic-data-bindings-for-class-parameters
Regards
Craig
--
Craig Dunn
Professional Services
Puppet Labs Inc.
http://www.puppetlabs.com
--
You received this message because you are subscribed to the Google Groups "Puppet
Use
ywhere
Regards
Craig
--
Craig Dunn
Professional Services
Puppet Labs Inc.
http://www.puppetlabs.com
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe
ce to minimize duplication
roles::appserver::foo roles::appserver::baretc inheriting from
roles::appserver where I might have stuff like tomcat.
Craig
--
Craig Dunn
Professional Services
Puppet Labs Inc.
http://www.puppetlabs.com
--
You received this message because you are subscribed to the G
ents are needed
* The component modules are the building blocks that manage resources
(eg: ssh, mysql, apache...)
Theres probably a few ways of achieving the same thing - but they key
here is abstracting the components from the nodes.
Craig
--
Craig Dunn
Professional Services
Puppet Labs I
en
on the agent when the resource gets applied, or on the server during
catalog compilation in the form of a function? Whether or not you are
doing anything with the data returned from your call will make a
difference here.
Craig
--
Craig Dunn
Professional Services
Puppet Labs Inc.
http://www.puppet
source: "puppet:///%{environment}/%{module_name}/preferenced.d
Your source path confuses me a bit anyway, surely your environment
dictates your modulepath and this should just be
puppet:///modules/%{module_name}/preferences.d ?
Regards
Craig
--
Craig Dunn
Professional Servi
a layout I've seen anyone use, people generally
maintain a full set of modules in a particular environment module directory.
Is that what you meant?
Craig
--
Craig Dunn
Professional Services
Puppet Labs Inc.
http://www.puppetlabs.com
--
You received this message because you are subscribed
init.pp.
Does that make more sense?
Craig
--
Craig Dunn
Professional Services
Puppet Labs Inc.
http://www.puppetlabs.com
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
.pp
class ssh {
# manifests/hostkeys.pp
class ssh::hostkeys {
Craig
--
Craig Dunn
Professional Services
Puppet Labs Inc.
http://www.puppetlabs.com
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, send e
ed resources then you can enable
thin_storeconfigs = true in your puppet.conf which will then make it
behave as you're expecting it to by only storing resources that you
explicitly export with @@.
Craig
--
Craig Dunn
Professional Services
Puppet Labs Inc.
http://www.puppetlabs.com
--
You rec
or general feelings. A simple +1 or -1 would be great.
So is there an outcome to this? Is it acceptable for community members
to post Puppet related jobs here?
Craig
--
Craig Dunn | http://www.craigdunn.org
Yahoo/Skype: craigrdunn | Twitter: @crayfishX
--
You received this message becau
solidated email once a week or something?
Just a thought.
Craig
--
Craig Dunn | http://www.craigdunn.org
Yahoo/Skype: craigrdunn | Twitter: @crayfishX
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, s
#x27;t be focusing too much on the
credits or pitfalls of YAML - there are other DB and file based back
ends available, and if one of those doesn't fit the bill it's very
possible to extend Hiera with a new backend that supports a different
format.
Craig
--
Craig Dunn | http://w
me point?
(http://projects.puppetlabs.com/issues/12951)
Sounds like a lot of great new functionality though, looking forward to
testing it out!
Craig
--
Craig Dunn | http://www.craigdunn.org
Yahoo/Skype: craigrdunn | Twitter: @crayfishX
--
You received this message because you are subscribed
talled the server package first - it
wont actually do the orchestration for you though
--
Craig Dunn | http://www.craigdunn.org
Yahoo/Skype: craigrdunn | Twitter: @crayfishX
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To pos
Means I can store all my "foo" variables up into, for example, dev/foo.yaml
It's a nice way to be able to see at-a-glance how "foo" is configured in
my environment, and also helps with ambiguous variable names (eg: $port)
as grouping them this way offers a kind of scop
On 26/04/2012 15:51, Gary Larizza wrote:
I believe Craig Dunn had an article on using a MySQL backend for Hiera
-->
http://www.craigdunn.org/2012/03/introducing-hiera-mysql-mysql-backend-for-hiera/
Until hiera 0.3.1 is actually released you'll need to manually apply the
patch
onlyif => "[ \"$(/bin/ls -A $one_location)\" ]&& exit 1 || exit
0"
}
Puppet wont let you run commands that dont have fully qualified paths,
try adding this and it should work...
path => "/bin"
Craig
--
Craig Dunn | http://www.craigdunn
Nick - if you need one in the mean time, I use the following specfile
(adapted from gem2rpm) to build it from a downloaded gem on EL5.
http://www.craigdunn.org/stuff/hiera.spec (and hiera-puppet.spec
respectively)
Of course, official RPM's would be nicer :P
Craig
--
Craig D
n non-dev
environments.
Ideally I'd like to be able to catch this with rspec-puppet but can't
see an easy way to say "class bar should have variable foo and it
shouldn't be undefined", or something when sourcing variables from other
classes or hiera.
Craig
--
C
",
start => "( /usr/sbin/slaptest && service slapd start) || /bin/true",
}
But, IMO, a service init script should take care of its own pre-req's...
HTH
Craig
--
Craig Dunn | http://www.craigdunn.org
Yahoo/Skype: craigrdunn | Twitter: @crayfishX
--
You received t
class depacks(
$packages = "$params::packages"
) inherits params {
package{ $packages:
Putting quotes around $params::packages is making $packages a string
rather than an array. Remove the quotes and it should work
Regards
Craig
--
Craig Dunn | http://www.craigdunn
ssues.
Providing a beginners mailing list IMO would only encourage people to
bypass the docs even more.
2p/w :)
Craig
--
Craig Dunn | http://www.craigdunn.org
Yahoo/Skype: craigrdunn | Twitter: @crayfishX
--
You received this message because you are subscribed to the Google Groups "Pupp
/projects/1/wiki/puppet_augeas
Regards
Craig
--
Craig Dunn | http://www.craigdunn.org
Yahoo/Skype: craigrdunn | Twitter: @crayfishX
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, send email to puppet-users@google
Regards
Craig
--
Craig Dunn | http://www.craigdunn.org
Yahoo/Skype: craigrdunn | Twitter: @crayfishX
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from
On Jan 5, 3:24 pm, pzi wrote:
> After a quick read of the 'Installation Guide' at puppetlabs.com I see
> that there is either tar or distro options. I looked at distro option
> and see that for redhat there is only outdated
> puppet-0.25.5-1.el5.noarch.rpm
> athttp://download.fedora.redhat.com
Hi,
Reading the latest best practices for 2.6.x I see that it recommends
generic classes for server model types to be put in
/etc/puppet/services. Sounds a sensible idea but I can't seem to find
much more information on this and services/ doesn't seem to be in the
default search path for classes.
It looks like puppet 2.6 loads reports from "puppet/reports" - is
there a way to specify another location for report files so you dont
have to manually copy the .rb file to
/usr/lib/ruby/puppet/reports?
What I'd like to do is tell puppetmasterd to also look in
/usr/share/puppet-dashboard/ext/
On Mon, Aug 23, 2010 at 9:47 AM, parag(PK) wrote:
> Hi,
>
> I am trying to add multiple users onto my client, using array.
> My code snippet is like this :
>
> node example_node {
> $arr=["abc","xyz",]
>
> user{$arr:
> ensure => present,
> gid => root,
>
Hi,
I have stored configs with a Postgresql back end - for some reason, one
host, and all it's associated resources, is duplicated. I haven't got a
clue how, but it's causing errors using exported resources.Is there a
safe way to remove a host from stored config? I note from
http://projects
> By any chance, does the "source" parameter supports HTTP URLs, if not
> then how can i do that in Puppet ?
>
>
Source currently only supports the "file" and "puppet" URI types, you could
accomplish a few ways, one is with a simple exec
exec { "wget http://myurl.com/file.txt -o /path/to/fil
On Fri, Aug 13, 2010 at 10:05 AM, ScubaDude wrote:
> I was wondering how to configure the puppet clients to only listen,
> not to periodically pull configs down from the puppetmaster.
>
> I'd rather push the configs out from the puppetmaster with
> puppetrun...
>
>
Running puppetd with --no-clien
I'm trying to nest arrays within puppet to use in an ERB template... is
this something thats supported in puppet.
Im defining my variable as:
$var = [ [ foox, fooy ], [ barx, bary ] ]
Within my erb template, I'm doing:
var.each { |x,y|
%>
X: <%= x %>
Y: <%= y %>
<%
}
%>
This
Hi All,
I'm struggling to find any decent documentation on ERB templating -
theres some limited summaries on puppets' site but I need something a
bit more in depth that covers things like arrays, for loops...etc
Is there anything out there that might help?
Cheers
Craig
--~--~-~--
Hi All
I've currently got a fact that converts all environment variables to
facters for use in templating..etc, this works pretty well, but if I
push push out a new env.d file that sets some environment vars thats
needed for a module thats going to be run after (being read by
/etc/profile),
1 - 100 of 105 matches
Mail list logo