Hi Andy,
When trying to implement something like Craig Dunn's roles and profiles
pattern with hiera I ended up with:
:hierarchy:
- %{hostname}
- roles/%{role}
- profiles/%{software1}
- profiles/%{software2}
- profiles/%{software3}
- profiles/%{software4}
- profiles/%{software5}
-
Most of the classes take a config hash parameter so this would be:
$ntp = {
'servers' => ['ntp1.domain.com'],
}
class { 'system::ntp':
config => $ntp,
}
I use this internally and Byron showed me an example of how he used it with
Foreman.
- Keith
On 22 March 2013 18:46, John Smith wrote
Hi All,
I am trying to follow the documentation at this link:
http://docs.puppetlabs.com/pe/latest/quick_start.html
When I get to the part where one runs ...
sudo puppet agent --test
I get this error message ...
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
Error 40
On 3/20/2013 3:37 PM, Andy Parker wrote:
On Tue, Mar 19, 2013 at 2:30 PM, Larry Fast mailto:lfast1...@gmail.com>> wrote:
My Hiera tree is turning into a chaotic mess. I'm guessing that my
tree structure is one problem source. So I'm wondering how other
real users have setup hiera. H
Late to the party, but wanted to add my $.02
We also keep hiera, manifests, and modules in a single repository at the
moment. Since we use dynamic environments for development (as outlined
here: https://puppetlabs.com/blog/git-workflow-and-puppet-environments), we
also have a node-level variabl
On Sat, Mar 23, 2013 at 9:47 AM, Gonzalo Servat wrote:
> On Fri, Mar 22, 2013 at 9:11 PM, Dominic Cleal wrote:
>
>> Perhaps ideally, lenses could be bundled with the software responsible
>> for the config file formats themselves so they're more easily kept in
>> sync. There are a small number
On Fri, Mar 22, 2013 at 9:11 PM, Dominic Cleal wrote:
> Perhaps ideally, lenses could be bundled with the software responsible
> for the config file formats themselves so they're more easily kept in
> sync. There are a small number of projects that do this (libvirt,
> libguestfs, corosync), but
I am running into the EXACT same issue.
If I change my provider code and re-sync, the provider works. If I run the
configuration immediately after it successfully completes, it fails with:
Failed to apply catalog: Parameter provider failed: Invalid package
provider...
Did you ever solve this i
Hi All,
I have a module that executes ifup and ifdown on interfaces. The node file
contains the following entries
node ip::addr{ "eth0":
}
node ip::addr{ "bond0":
}
node ip::addr{ "eth1":
}
node ip::addr{ "vlan2":
}
The problem I have is that vlan2 is sat on top of bond0,
I am trying to put together a set of puppet policies for grub/menu.lst.
The serial::grubmenulst looks like this :
define serial::grubmenulst ( $value ) {
$key = $title
$context = "/files/boot/grub/menu.lst"
augeas { "grubmenulst/${key}":
context => "$context",
On Friday, March 22, 2013 8:54:50 AM UTC-7, Keith Burdis wrote:
>
> Good news. I'd encourage people to file bug or feature requests on GitHub
> if they run into problems or have ideas for improvements. Tutorial
> documentation is coming Real Soon Now (TM) :-)
>
> - Keith
>
Keith,
What's th
On Fri, 22 Mar 2013 10:29:22 -0700 (PDT)
Jist Anidiot wrote:
> I have a custom package provider. However within the ruby code, I
> need access a custom facter fact (which has the path to the
> executable which handles the package installation).
>
> I tried doing lookupvar('bin_path' ) but it c
On Friday, March 22, 2013 10:47:15 AM UTC, Russell Parsloe wrote:
> I'm running PuppetDB 1.1.1 with Puppet 3.1, both on the same server.
> Occasionally nodes report this error:
>
> err: Could not retrieve catalog from remote server: Error 400 on SERVER:
>> Could not retrieve resources from the P
I have a custom package provider. However within the ruby code, I need
access a custom facter fact (which has the path to the executable which
handles the package installation).
I tried doing lookupvar('bin_path' ) but it complained "undefined method
`lookupvar'"
So how do I reference a fact
Try adding an entry for your hostname in /etc/hosts - for example:
127.0.0.1 server1
- Keith
On 22 Mar 2013 08:38, "bibop554" wrote:
>
> Hi,
>
>
>
> I am using puppet 2.6.2-5 in debian 6.0.3.
>
> I would like to execute puppet in standalone, with "puppet apply", but
> puppet does not start
Hi,
I'm having a hard time figuring out how to make rake spec tests work correctly
with hiera and puppet 3. Should I just give up for now until the various gems
work with puppet 3?
--
maarten
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
T
Good news. I'd encourage people to file bug or feature requests on GitHub
if they run into problems or have ideas for improvements. Tutorial
documentation is coming Real Soon Now (TM) :-)
- Keith
On 22 March 2013 15:46, John Smith wrote:
> thank you very much!!!
> working much better now :
thank you very much!!!
working much better now :)
--
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 post to this gro
I got it to work on Windows 7. On Windows 8 it would not find the provider.
But the provider does not install the package completely for me yet. As a
workaround I am using an exec of a powershell script.
On Wednesday, March 20, 2013 6:04:30 PM UTC-4, wernerbahlke wrote:
>
> As some before me on
On Friday, March 22, 2013 3:49:38 AM UTC-5, MrTeleBird wrote:
>
> Hi dear Users,
>
> I've been looking in internet and on the puppet wiki website but i am
> still confused about this.
>
> Lets say I have 2 Modules: A and B
>
> What I want to do is call a class on module A directly from module B.
Yes:
[root@LUXMKTaimvm2 files]# pwd;ls -l
/etc/puppet/modules/tableau/files
total 568648
-rwxr-xr-x 1 root root 0 Mar 21 13:30 TableauServer.exe
On Thursday, March 21, 2013 6:20:27 PM UTC-5, Ellison Marks wrote:
>
> Are the permissions ok on that file? That is, is it readable by the ma
On Thursday, March 21, 2013 6:16:07 PM UTC-5, Sam Morrison wrote:
>
> Hi,
>
> I've been battling with trying to get our puppet to do the following:
>
> Install all sources.list, apt-keys
> then:
> Run an apt-get update
> then:
> install Packages
>
> I've tried a few ways.
>
> 1. Set a default req
Thanks,
Its not mentioned and I tried, did not work.
No problem, if's are ok too.
Dragos
On Friday, March 22, 2013 3:35:12 PM UTC+2, llowder wrote:
>
>
>
> On Friday, March 22, 2013 8:23:31 AM UTC-5, Dragos R wrote:
>>
>> Can I make use of nested cases like this ?
>>
>> case $operatingsystem: {
On Friday, March 22, 2013 8:23:31 AM UTC-5, Dragos R wrote:
>
> Can I make use of nested cases like this ?
>
> case $operatingsystem: {
>case $kernelmajorversion: {
> '6.1' : { code }
> '6.2' : { code }
> default
>}
> }
>
>
Have you tried? If you put
Can I make use of nested cases like this ?
case $operatingsystem: {
case $kernelmajorversion: {
'6.1' : { code }
'6.2' : { code }
default
}
}
Thanks.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
On Wednesday, March 20, 2013 12:07:22 PM UTC-5, Wolf Noble wrote:
>
>
> Well, the motivation behind this is easy collaboration. All my modules
> really care about is lsbmajdistrelease and
> lsbdistid/osfamily/operatingsystem.
> Stepping back a bit though, the underlying question is what's the
I found the answer to my "search keyword question":
http://lmgtfy.com/?q=bootstrap+puppetmaster
The solutions range from bash scripts to puppet manifests that can be run
by "puppet apply". I hope this helps others.
--
You received this message because you are subscribed to the Google Groups
"P
Excellent !
“Sometimes I think the surest sign that intelligent life exists elsewhere in
the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)
- Original Message -
From: "Moses Mendoza"
To: puppet-users@googlegroups.com
Sent: Friday, March 22, 2013 12
On Mar 21, 2013, at 7:16 PM, Sam Morrison wrote:
> Install all sources.list, apt-keys
> then:
> Run an apt-get update
> then:
> install Packages
With the Puppet apt module, apt-get update gets called after installing a new
source. Or at least that's how I've managed to make it work. But it do
You can just call the full reference to the class. So if you want to call
the class *dofunkystuff *from *modulea *in *moduleb*, put this in one of
your module B manifests:
include modulea::dofunkystuff
Is this what you needed?
--
You received this message because you are subscribed to the G
I'm running PuppetDB 1.1.1 with Puppet 3.1, both on the same server.
Occasionally nodes report this error:
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
> Could not retrieve resources from the PuppetDB at
> puppet.mydomain.local:8081: SSL_connect SYSCALL returned=5 er
Hi Steve,
On 22.03.2013, at 10:49, Steve F wrote:
> Hi all,
>
> First off, I'm very much a new user when it comes to Puppet, just trying to
> get my head around all that it can do so I'm assuming I've missed something
> extremely obvious.
>
> I have a small setup consisting of three virtual m
Hi all,
First off, I'm very much a new user when it comes to Puppet, just trying to
get my head around all that it can do so I'm assuming I've missed something
extremely obvious.
I have a small setup consisting of three virtual machines on the same
subnet who can all happily talk to each other
On 22/03/13 04:02, Gonzalo Servat wrote:
> Hi All,
>
> I just ran into a frustrating Augeas problem, which I thought I'd share
> with you all.
>
> We run a cron every morning to fetch the latest RPMs (for the packages
> we're interested in) from various places such as rpmforge, EPEL, etc.
>
> Th
I met the same problem with you.Thank you for solving this problem.I'm in
this trouble from several days.
在 2012年7月26日星期四UTC+8上午2时56分32秒,banjer写道:
> I solved it. My puppetmaster and puppet-dashboard apache configs were
> conflicting. Looks like it was related to RackBaseURI and RailsBaseUR
Hi dear Users,
I've been looking in internet and on the puppet wiki website but i am still
confused about this.
Lets say I have 2 Modules: A and B
What I want to do is call a class on module A directly from module B.
I know it is possible to call different classes within a module by using
inh
Hi,
I am using puppet 2.6.2-5 in debian 6.0.3.
I would like to execute puppet in standalone, with "puppet apply", but
puppet does not start because it can't resolv the hostname to any IP (which
is normal since i have no reason to have a hostname that resolves to an IP)
Is it possible to somehow
I'm getting this on a number of my systems, some rhel 5 and some rhel 6.
Some new and some old. Any thoughts? thanks
[root@x yum.repos.d]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
[root@x yum.repos.d]# yum clean all
Loaded plugins: rhnplugin, security
Cleaning
38 matches
Mail list logo