If you don't want to transfer the class files (and any dependencies) over
to the agent host, which is what I was suggesting here then perhaps you can
get your desired behaviour using a custom fact.
Assuming that you have facter.dot.d installed (usually from stdlib) do
something like:
$ echo 'ru
Is there a fix/workaround/patch for this?
On Monday, February 25, 2013 12:31:24 PM UTC-5, matthias wrote:
>
> I recently upgraded one of our puppet agent servers to use rubygems 2.0.0.
> When I run 'puppet agent --test' after the upgrade it complains that there
> is an invalid option with using
On 17 May 2013 13:05, joe wrote:
> The easiest thing to do would to make a subclass called cups::enabled or
> similar and use an override:
>
> class cups::enabled inherits cups{ # The inherits is important
>
> Package['cups']{
> ensure => 'present,
> }
>
> Add service and config file r
The easiest thing to do would to make a subclass called cups::enabled or
similar and use an override:
class cups::enabled inherits cups{ # The inherits is important
Package['cups']{
ensure => 'present,
}
Add service and config file resources here
}
The problem with trying to use hi
On 16/05/13 03:28 AM, sjr wrote:
> Take a look to the example I wrote, I know writing the version in ensure
> puppet will do that...but let's imagine someone puts a new version of
> one of our services in the repository and another someone comes and
> makes the mistake of upgrading without noticing
On 17 May 2013 10:33, Stephen Wallace wrote:
> Hi all,
>
> I know that there are likely a few ways to solve the following. I just
> don't know what the best way may be :)
>
> We're trying to work out how do something similar to the following
> scenario.
>
> How do we apply a policy to uninstall C
Hi all,
I know that there are likely a few ways to solve the following. I just
don't know what the best way may be :)
We're trying to work out how do something similar to the following scenario.
How do we apply a policy to uninstall CUPS from all servers, except for a
configurable group of "som
Finally made progress today, the answer for me was to back out of the newer
kernel version as mentioned here:
https://groups.google.com/d/msg/puppet-users/ho5Thsm5q1E/FPe4N9KvhD4J
After downgrading from 2.6.18-238.49.1.el5 back to 2.6.18-194.32.1.el5 my
puppetd is functioning properly again. So
Hi Tom,
Fedora 18 is the standard environment for new nodes in my environemnt and I
have never had this issue getting puppet to work.
Admittedly I have two repos setup, one for fedora 17 with a low priority
and one for 18 with normal priority.
I was running the fedora 17 repos before they started
I'm using Fedora 18 KDE in VirtualBox, fresh install this morning with full
updates using yum.
I installed puppet by adding the puppet labs yum repo and then "sudo yum
install puppet", so now I'm running puppet version 3.1.1
Running "puppet --version" or "sudo puppet agent --test" gave me the
thanks, but no:
# puppet apply --execute 'include manual'
Error: Could not find class manual
On Thursday, May 16, 2013 2:47:35 PM UTC-6, Keith Burdis wrote:
>
> Perhaps try:
>
> # puppet apply --execute 'include manual'
>
> - Keith
> On 16 May 2013 21:40, "Nev" > wrote:
>
>> I need to be able
Greetings,
When writing modules are people namespacing them to avoid collisions
with puppetlabs' modules?
I wrote some (very simple) modules:
mysql
postgresql
that now have namespace conflicts when I am trying to install the
puppetlabs modules of the same name.
Is there a best practice or styl
I am developing a custom provider and have a requirement on a gem. Is
there any way to use the gem with a custom provider without installing the
gem on the managed node? Ideally I want to keep the gem isolated from
other puppet code to avoid any potential conflicts as well. I am currently
ru
Perhaps try:
# puppet apply --execute 'include manual'
- Keith
On 16 May 2013 21:40, "Nev" wrote:
> I need to be able to run a certain class ONLY when it is called
> manually from the client.
>
> I created a class named "manual" and can run it from the client like
> this:
>
> puppet agent --
I need to be able to run a certain class ONLY when it is called
manually from the client.
I created a class named "manual" and can run it from the client like
this:
puppet agent --no-daemonize --onetime --verbose --tags=manual
However it only works if that class is specified in the node
definiti
I've tried putting the custom function in the puppetmaster $libdir as a
last ditch effort, still no luck, same header error.
On Tuesday, May 14, 2013 8:14:17 PM UTC-4, David Pires wrote:
>
> I have a custom function (
> http://docs.puppetlabs.com/guides/custom_functions.html) working locally
> u
Thank You
On Thursday, May 16, 2013 1:47:30 PM UTC-4, Ramin K wrote:
> On 5/16/2013 5:35 AM, michael@gmail.com wrote:
> > So I am having issue with a manifest that contains the class below. I
> > was in hopes somebody could point me in the correct direction;
> > Original class, works on
On 5/16/2013 5:35 AM, michael.r.bow...@gmail.com wrote:
So I am having issue with a manifest that contains the class below. I
was in hopes somebody could point me in the correct direction;
Original class, works on many others systems I have this deployed to,
class base::yum_plugins{
req
On Thu, May 16, 2013 at 11:13 AM, Keith Burdis wrote:
> Perhaps try:
>
> $ echo 'syntax on' >> ~/.vimrc
>
> - Keith
>
>
Thanks now it works with either one of 'syntax on' or 'syntax enable'
--
Regards,
Balasubramaniam Natarajan
www.blog.etutorshop.com
--
You received this message because yo
Seems to be there
ed Hat Enterprise Linux Server release 6.4 (Santiago)
[root@rhel6Template pluginconf.d]#
[root@rhel6Template pluginconf.d]# yum install yum-plugin-versionlock
Loaded plugins: product-id, rhnplugin, security, subscription-manager,
versionlock
This system is not registered to Re
This package doesn't appear to exist in the default repositories for
RHEL/CentOS 5:
# cat /etc/redhat-release
CentOS release 5.9 (Final)
# yum install yum-plugin-versionlock
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: ftp.heanet.ie
* extras: ftp.hea
I think the certificate fingerprint issue you received is a worry, but
might not indicate a problem per se. Lets use openssl instead to get
the fingerprint directly:
# openssl x509 -noout -in `puppet master --configprint hostcert`
-fingerprint -md5
So if I do the same exercise on my own host I ge
Hello,
is syntax highlighting enabled in Vim?
Try "syntax enable". If this solves the problem you can put it in your
.vimrc.
Best regards,
Dennis Benzinger
On 16.05.2013 16:27, Balasubramaniam Natarajan wrote:
Hi
I am trying to install vim-puppet for syntax highlight of puppet
manifest fi
So this seems to be different between RHEL5 and RHEL6 the command you
suggested ran fine.
Here it is on another RHEL6 box
[root@crypt mbowden]# puppet agent --verbose --onetime --no-daemonize
info: Caching catalog for crypt.bowdoin.edu
info: Applying configuration version '1368708690'
e
Perhaps try:
$ echo 'syntax on' >> ~/.vimrc
- Keith
On 16 May 2013 15:27, Balasubramaniam Natarajan wrote:
> Hi
>
> I am trying to install vim-puppet for syntax highlight of puppet manifest
> file. I first installed vim-puppet and then vim. Then I ran
> "vim-addon-manager -w install puppet
On Wed, May 15, 2013 at 2:44 AM, Stephen Gran
wrote:
> Your push server can run git update and then rsync to the masters.
Why rsync if you have git?
You have
- the machine(s) where you edit and make commits on git, you then
_git push_ to what I'll call a "gold" git server
- the gold git serv
Hi
I am trying to install vim-puppet for syntax highlight of puppet manifest
file. I first installed vim-puppet and then vim. Then I ran
"vim-addon-manager -w install puppet" I am still unable to see the colours
on site.pp
bala@WheezyMaster:~$ vim-addon-manager
# Name User
On Wednesday, May 15, 2013 9:20:37 PM UTC-5, Alex Harvey wrote:
>
>
> I was actually thinking of doing something similar to what Stephen Gran
> suggested above; let rsync can take care of ensuring that all puppet
> masters always have the same copy of the same code tree. So in that
> situatio
This is often an issue with the underlying yum command being executed.
Try running:
# puppet apply --verbose --debug --execute 'package
{yum-plugin-versionlock: ensure => latest}'
to see what is happening.
On my host this shows that '/usr/bin/yum -d 0 -e 0 -y install
yum-plugin-versionlock' is
Actually there is an anticipated 1.3.1, and it should have the fix for
JDK 1.7. We're in the middle of sorting that out now.
On Thu, May 16, 2013 at 1:23 PM, Justin Lambert
wrote:
> Thanks for this Ken, I checked the mailing list but not the bug tracker -
> should have done that.
>
> Do you know
On Thursday, May 16, 2013 6:49:49 AM UTC-5, jdt wrote:
>
> Hello,
>
> I have a yaml file with a hash of network interfaces (ifaces hash), each
> nic has an associated ipaddress and netmask.
> Using hiera ifaces fqdn=host.mycompany.com I can get all interfaces back.
> Is there a way using the hi
On Thursday, May 16, 2013 7:06:02 AM UTC-5, Andreas Zuber wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi John
>
> Thank you for your thoughts on this.
>
> On 05/15/2013 07:52 PM, jcbollinger wrote:
> > I'm not sure what you mean by "overwrite the anchor".
>
> In defaults.
So I am having issue with a manifest that contains the class below. I was
in hopes somebody could point me in the correct direction;
Original class, works on many others systems I have this deployed to,
class base::yum_plugins{
require base::yum_repos
package {yum-versionloc
Is there a way to fetch the list of hosts using any puppet web api? I am
trying to create a report by querying and aggregating facts data from
the inventory service. However, while I can fetch facts for a given
hostname, I cannot find a way to remotely query the list of all
hostnames.
TIA,
Sandi
If you have created a hash in your hiera data, I believe that hiera can only
return that hash.
If you want a piece of it, you can process the hash after you get it out of
hiera and into your manifest.
I do not have a handy example to offer here, but maybe another list member can
help with that.
Thanks for this Ken, I checked the mailing list but not the bug tracker -
should have done that.
Do you know if there is an anticipated 1.3.1 release for puppetdb? I haven't
seen any mention of what the next release is going to be.
On May 15, 2013, at 7:06 AM, Ken Barber wrote:
> Justin,
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi John
Thank you for your thoughts on this.
On 05/15/2013 07:52 PM, jcbollinger wrote:
> I'm not sure what you mean by "overwrite the anchor".
In defaults.yaml I set
bar: &bar 1
foo1::bar: &bar
foo2::bar: &bar
And for examlpe in hosts/mymachine.y
Hello,
I have a yaml file with a hash of network interfaces (ifaces hash), each
nic has an associated ipaddress and netmask.
Using hiera ifaces fqdn=host.mycompany.com I can get all interfaces back.
Is there a way using the hiera cli to get a specific value of a key within
the hash?
e.g. hier
Hi Gabriel,
first of all thanks for your comment much appreciated.
Take a look to the example I wrote, I know writing the version in ensure
puppet will do that...but let's imagine someone puts a new version of one
of our services in the repository and another someone comes and makes the
mistak
39 matches
Mail list logo