i think everything is fine with your code.
Problem might be with location.
Dont know about PE, but for facter if you do export FACTERLIB= ,
then you can run facter to see your custom fact
On 8 Jan 2014 21:52, "Shark Laser" wrote:
>
> Platform: I've downloaded and installed the learning VM. T
Thanks Sam.
> On Jan 7, 2014, at 1:58 AM, Sam Kottler wrote:
>
>
>
>
>> On Mon, Jan 6, 2014 at 8:51 PM, Stuart Cracraft wrote:
>> Okay, took care of that. Thanks.
>>
>> Now, when doing per page 170 in chapter 7 (chapter puppet consoles) in Pro
>> Puppet
>> by Krum et al, I have:
>>
>> r
The Facter.add scaffolding isn't required for external facts. That's
actually a key part of the design.
Here's an example vagrant environment with external facts similar to
your demo code:
https://github.com/nrvale0/vagrant-extfacts-demo
On Wed, Jan 8, 2014 at 5:03 PM, Shark Laser wrote:
> The
Any chance you have a symlink to
/usr/lib/ruby/site_ruby/1.8/hiera/backend/ (or something similar)
floating around in your /var/lib/puppet? This was a common way to get
Hiera to work in Puppet 2.7 before the necessary glue was built into
3.x. If you do, remove it and restart.
Ramin
On 1/8/2
All-
I've been struggling with this all afternoon, so it's time to ask for
some help.
The TL;DR version:
On a 2.7.14 puppet client promoted to be a test 3.4.2 master, whenever a
client connects I get:
Warning: Puppet.features.rubygems? is deprecated. Require rubygems in your
application's ent
The simpler ruby script you gave still exhibits the same behavior. I'm
sure the code in the facts I am using is correct, so I don't think it is a
matter of their content. As I mentioned I have literally copied examples
from the tutorial and elsewhere.
If I run facter --debug all of the fa
sorry, s/=/:/g in hello.yaml
On Wed, Jan 8, 2014 at 4:40 PM, Nathan Valentine wrote:
> You are making external facts too complicated. More like this:
>
>
> hello.rb
> ---
> #!/usr/bin/env ruby
> puts "hello=Hello, World!"
>
>
> hello.yaml
> ---
> ---
> hello='Hello, World!
You are making external facts too complicated. More like this:
hello.rb
---
#!/usr/bin/env ruby
puts "hello=Hello, World!"
hello.yaml
---
---
hello='Hello, World!'
https://docs.puppetlabs.com/guides/custom_facts.html#external-facts
--
---
Nathan Valentine, Puppet La
Sorry, bitten by the Gmail interface on that last one...
I'm a proponent of something like this:
http://www.craigdunn.org/2012/11/puppet-data-from-couchdb-using-hiera-http/
with classification data that doesn't change much ( 'require
::site::profile::base' ) perhaps living in YAML and specific o
Keep in mind that Hiera can support multiple backends and not all of them
mean manipulating JSON or YAML. For instance, I'm a proponent of something
like this:
On Sat, Jan 4, 2014 at 10:15 AM, Jose Luis Ledesma <
joseluis.lede...@gmail.com> wrote:
> I'm in the process of setting up puppet in my
On Wed, Jan 8, 2014 at 4:39 PM, Corey Osman wrote:
> Hi,
>
> Hoping someone can help with this error. Check your puppetdb logs and you
> might see the same error. This doesn’t seem to cause any harm but I have
> seen occasional crashes with puppetdb.
>
> This error is littering my postgres log
Hi,
Hoping someone can help with this error. Check your puppetdb logs and you
might see the same error. This doesn’t seem to cause any harm but I have seen
occasional crashes with puppetdb.
This error is littering my postgres log files. The puppetdb must be closing
the connection incorrectl
On Wed, Jan 8, 2014 at 12:21 PM, expouser wrote:
>
> Hi All,
> Does anyone know how to install PE (3.1 latest) on OpenSuse (13.1 x64)
> Linux.
>
Unfortunately, you can't as it's not a supported platform (SLES is though!)
>
> I'm getting:
> !! ERROR: Unknown platform
>
> ===
Remove also /etc/puppet/puppetdb.conf
--
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 w
On Wed, Jan 8, 2014 at 3:17 PM, David Thompson
wrote:
> I'm trying to decommission puppetdb, but it's being very persistent. I've
> removed the puppetdb-terminus rpm, and commented out the storeconfigs
> entries in puppet.conf, but the managed systems can't apply without
> puppetdb running on the
I'm trying to decommission puppetdb, but it's being very persistent. I've
removed the puppetdb-terminus rpm, and commented out the storeconfigs
entries in puppet.conf, but the managed systems can't apply without
puppetdb running on the server. The error messages are:
Warning: Unable to fetch
Platform: I've downloaded and installed the learning VM. This system
runs CentOS with Facter v1.7.3 and Puppet v3.3.1 (Puppet Enterprise
3.1.0).
I've created a fact called hello.rb with the following content:
Facter.add(:hello) do
setcode do
"Hello world!
True, but with a profiles/roles design + hiera you shouldn't need to
parametrize classes in the LDAP.
Regards,
--
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
Hi All,
Does anyone know how to install PE (3.1 latest) on OpenSuse (13.1 x64)
Linux.
I'm getting:
!! ERROR: Unknown platform
trying to run
# /puppet-enterprise-3.1.1-all/puppet-enterprise-installer
# cat /etc/issue
W
On 01/08/2014 09:22 PM, Arnaud Gomes-do-Vale wrote:
Jose Luis Ledesma writes:
Enforcing environment from the master is a must for us, and I don't
really see the point of configuring hiera against LDAP when puppet
supports it natively. Do you know some benefit I'm missing?
Last time I checked
Jose Luis Ledesma writes:
> Enforcing environment from the master is a must for us, and I don't
> really see the point of configuring hiera against LDAP when puppet
> supports it natively. Do you know some benefit I'm missing?
Last time I checked the native LDAP terminus did not support
parametr
Puppet loads facts first of all, so custom facts deployed are not there until
next run.
Regards
--
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+un
John,
thank you for pointing me in the right direction. The problem was that each
time I made changes to hiera.yaml file I'll restart the master with service
puppetmaster restart.
Well apparently the master was not really restarting even though it was
saying it was. So it was going into this st
I think I have run into some sort of facter caching issue in the puppet
agent that I am hoping someone can explain.
When I launch a new server I run the following command to get things
started.
puppet agent --test --onetime --no-daemonize --waitforcert 5
The puppetmaster then downloads to the se
Depending on your comfort level you could use PowerShell to do it, see
http://powershell.com/cs/blogs/tobias/archive/2009/02/02/xml-part-2-write-add-and-change-xml-data.aspx
You could combine that XML read/manipulate/write technique with the
Powershell exec provider from
https://forge.puppetla
On Tuesday, January 7, 2014 11:39:14 AM UTC-6, kai wrote:
>
> What version of Puppet are you running?
>> *3.4.1 for both master and agent*
>> As what user is the master running? (Typically an unprivileged user
>> named 'puppet'.)
>> *The master is running as user puppet*
>> As what user are you
On Tuesday, January 7, 2014 5:19:42 PM UTC-6, Salient Digital wrote:
>
> I'm new here, and to Puppet also.
>
> I've inherited some Puppet 2x code in an SVN repo at my work, and have the
> daunting task of sorting out whether we can/should use "what we have", or
> if we should upgrade/rewrite e
Hi,
I'm looking for a good way to manage individual XML values on Windows.
Apparently, Augeas does not work on Windows and we cannot manage the entire
file as a template because of some values that are generated during
installation of the package.
How would I manage individual values in XML f
Hi everybody
We are actually using Puppet and MCollective with ActiveMQ. The Puppet
Reports are now forwarded from the Puppet Master to our application using
the HTTP report mechanism:
reports = store, http
reporturl = http://machine:port/qapp/reports
I would like to know if there is (or is
Hi,
can you reproduce this using puppet agent --one-time?
If not, you may have to activate debug logging in your background agent.
Otherwise, it will be difficult to determine what's happening when and why.
Thanks,
Felix
On 01/08/2014 10:12 AM, zerozerouno...@gmail.com wrote:
>
> Just for comp
On Tuesday, January 7, 2014 3:10:31 PM UTC+1, zerozer...@gmail.com wrote:
> The problem is with automated puppet runs every 30 minutes, as per
> default: 50% of the runs end with no errors in the report, even though the
> class is not correctly applied.
>
Just for completeness, here is an exc
31 matches
Mail list logo