Thanks Ilya, I will give this a try.
BUT if I remember correctly, the install process will ask input during the
install, to set some options... can Puppet handle entering options during
installations?
Thanks
On Monday, November 19, 2012 10:15:57 PM UTC, Ilya Dmitrichenko wrote:
Hi,
Yes,
On 11/20/2012 10:44 AM, Laurence Cope wrote:
Thanks Ilya, I will give this a try.
BUT if I remember correctly, the install process will ask input during
the install, to set some options... can Puppet handle entering options
during installations?
Puppet is not a shell script, it's a
So does that mean I still have to manually setup server and install what I
need, then just use Puppet to keep them all configured the way I want them?
So I would still copy my virtual servers to create a new one (because it
takes too long to setup a virtual server from scratch and install
Hello all,
I'm fairly new to puppet and in the majority a windows shop
I have two questions
1.) As windows syntax is slight different than linux syntax, how do I
create a new line within a bit of content, e.g. hosts file for windows not
linux
e.g.
file
Hi all,
In my systems (SL 6.3, RH like) I'm installing Oracle's Java.
I'm managing the package and several links under /etc/alternatives
with puppet, but for configuring it, all the 'official' docs recommends
'alternatives'. I've been looking for some module which already
deals with it, but I've
Puppet 3.0.1 from Puppetlabs' repos, installed on F17.
I've got puppet set to run automatically on startup after a minimal cobbler
install (using a slightly modified default.ks from cobbler). Puppet starts
on the subsequent reboot just fine, but its environment appears to be
unlike the
Just to finish this one up, I had the service name wrong.
# puppet resource service puppetagent enable=yes ensure=running
Works just fine.
Bret
--
You received this message because you are subscribed to the Google Groups
Puppet Users group.
To view this discussion on the web visit
On 11/20/2012 01:05 PM, Arnau Bria wrote:
Hi all,
In my systems (SL 6.3, RH like) I'm installing Oracle's Java.
I'm managing the package and several links under /etc/alternatives
with puppet, but for configuring it, all the 'official' docs recommends
'alternatives'. I've been looking for some
On Tue, Nov 20, 2012 at 10:40 AM, Laurence Cope
amitywebsoluti...@gmail.com wrote:
So does that mean I still have to manually setup server and install what I
need, then just use Puppet to keep them all configured the way I want them?
So I would still copy my virtual servers to create a new one
you will need to create your own Yum repository, have Puppet configure yum
to make use of that repo, then create a manifest that installs the package.
Ah right... this bit helps a lot. never thought of creating an own repo,
that makes sense now. so if its in a repo puppet can do it. I
On Monday, November 19, 2012 6:37:28 PM UTC-6, Forrie wrote:
Thanks for the explanation, I appreciate it.
These services are provided by Redhat as are the init scripts, which
report:
# /etc/init.d/cups-config-daemon status
cups-config-daemon is obsolete
# /etc/init.d/hidd status
On Tue, Nov 20, 2012 at 1:54 PM, Laurence Cope
amitywebsoluti...@gmail.com wrote:
you will need to create your own Yum repository, have Puppet configure yum
to make use of that repo, then create a manifest that installs the package.
Ah right... this bit helps a lot. never thought of creating
On Tuesday, November 20, 2012 1:34:23 AM UTC-6, Jayapandian Ponraj wrote:
I have a node(b) inheriting another node(a). node(a) includes a class(c)
which inturn inherits class(d). I need to access the variable defined in
node (b) from class (d). I am not sure if its possible As far as i
Hello,
I am using a custom provider that uses an external gem, for eg., json.
I am seeing this behavior:
1) In the first puppet run - errors would be thrown like :
err: Could not load downloaded file
/var/lib/puppet/lib/puppet/provider/custom_provider/json.rb: no such
file to load -- json
On Tue, Nov 20, 2012 at 10:24 AM, Mohit Chawla
mohit.chawla.bin...@gmail.com wrote:
Hello,
I am using a custom provider that uses an external gem, for eg., json.
I am seeing this behavior:
1) In the first puppet run - errors would be thrown like :
err: Could not load downloaded file
Hello Jeff,
Thanks for the reply.
A new ticket to collect this information is the best tool we have at
this time.
This is on 2.7.19. Added ticket http://projects.puppetlabs.com/issues/17747.
--
You received this message because you are subscribed to the Google Groups
Puppet Users group.
To
Hi All,
In foreman I checked hosts status and found one host was out of sync , I
logined the box and check the status of puppet, no obvious issues found (
puppet was running at that point time). Then I tried to restart puppet and
but failed (also no related log).
/etc/init.d/puppet restart
If you define a custom function in *lib/puppet/parser/functions *can it be
executed with a *before *or* require *relationship applied?
Without this I don't understand the logic behind when it will be called,
considering relationships make the literal ordering of code in a manifest
irrelevant
I'm trying to use my first custom function *prefixPaths*.
The function is defined in:
my_module/lib/puppet/parser/functions/prefixPaths.rb
Listing:
module Puppet::Parser::Functions
newfunction(:prefixPaths, :type = :rvalue) do |args|
args[1].map{|path| #{args[0]}/#{path}}
end
hi all,
I found puppuet stop to work, restart was not working, I had to kill -9
puppet mannually and started pupped then it was working.
what is root cause of this issue ?
Thanks,
gm
--
You received this message because you are subscribed to the Google Groups
Puppet Users group.
To view
Hi, I have a puppetmaster - agent architecture. I have a module for the
vsftpd configuracion in the agents. The configuration of the value
'max_per_ip' in the agents may vary. This is a line of the manifest:
$max_per_ip = hiera('max_per_ip',10)
I want to specify different values for each agent
Hi,
I'm not a total newbie with puppet, but I only use it for a few things and
I'm not even using modules yet, mostly because I only deploy configuration
files for now.
I have a configuration for NTP that looks like this:
class ntpd {
package { ntp:
ensure = installed,
}
On Tue, Nov 20, 2012 at 1:06 PM, Ugo Bellavance u...@lubik.ca wrote:
However, I would need to push a different file to my NTP servers (the
puppet://$puppet_server/files/ntp.conf) are for clients. How can I do that?
Can I simply declare my two servers in a node declaration and set a variable
for anyone that is interested a much simpler method to accomplish this is
to use rake tasks to modify the classes and node groups.
It's easily scripted..
On Friday, November 16, 2012 2:13:37 PM UTC-8, Mike Skint wrote:
Hi group,
I'm in the process of migrating a puppetmaster to a new host,
Folks,
I've got around to rolling some fresh Puppet3 packages at opencsw.org
I chose to call these puppet3/puppetmaster3 so the existing 2.7 stream
could be kept in the CSW catalog too. They are, however, marked as
incompatible - so you can't install them both (i.e. puppet and puppet3) at
the
On Tuesday, November 20, 2012 7:41:10 AM UTC-5, Bret Wortman wrote:
Puppet 3.0.1 from Puppetlabs' repos, installed on F17.
I've got puppet set to run automatically on startup after a minimal
cobbler install (using a slightly modified default.ks from cobbler). Puppet
starts on the
Does it fail or only warn ?
I can only see dprecation warnings in your message.
--
Bruno
On November 19, 2012 11:36:17 PM Jacob wrote:
Thanks :)
Now I get
snip
# sudo -u puppet-dashboard rake -f /usr/share/puppet-dashboard/Rakefile
'node:list'
(in /usr/share/puppet-dashboard)
DEPRECATION
On Tue, Nov 20, 2012 at 8:13 AM, Mohit Chawla mohit.chawla.bin...@gmail.com
wrote:
Hello Jeff,
Thanks for the reply.
A new ticket to collect this information is the best tool we have at
this time.
This is on 2.7.19. Added ticket
http://projects.puppetlabs.com/issues/17747.
I believe
On Tuesday, November 20, 2012 12:37:39 PM UTC-5, Bret Wortman wrote:
On Tuesday, November 20, 2012 7:41:10 AM UTC-5, Bret Wortman wrote:
Puppet 3.0.1 from Puppetlabs' repos, installed on F17.
I've got puppet set to run automatically on startup after a minimal
cobbler install (using a
On Tue, Nov 20, 2012 at 1:28 AM, KomodoDave dave.br...@ocado.com wrote:
If you define a custom function in *lib/puppet/parser/functions *can it
be executed with a *before *or* require *relationship applied?
Without this I don't understand the logic behind when it will be called,
considering
In regard to: Re: [Puppet Users] Re: Seeking some Puppet advice for a...:
On Tue, Nov 20, 2012 at 1:54 PM, Laurence Cope
amitywebsoluti...@gmail.com wrote:
you will need to create your own Yum repository, have Puppet configure yum
to make use of that repo, then create a manifest that installs
Hi James,
On Tue, Nov 20, 2012 at 3:23 AM, jim stra...@gmail.com wrote:
Hello all,
I'm fairly new to puppet and in the majority a windows shop
I have two questions
1.) As windows syntax is slight different than linux syntax, how do I create
a new line within a bit of content, e.g. hosts
I've added Devise and OmniAuth, starting with configs for Google OAuth2
(compatible with and can be restricted to apps-for-your-domain) on this
branch:
https://github.com/sodabrew/puppet-dashboard/tree/rails3-aaa
Next week I will tie logins to who-changed-what-and-when accounting,
followed by
Puppet can't provide input when a script prompts for it, but usually there
are alternative ways to install the software. Most install scripts only
untar the software to a directory, ask some questions and write some
configuration files based on your answers. Most popular software has some
way
Try:
:hierarchy:
- %{certname}
- common
Felipe
On Tuesday, November 20, 2012 8:14:10 AM UTC-8, Félix Barbeira wrote:
Hi, I have a puppetmaster - agent architecture. I have a module for the
vsftpd configuracion in the agents. The configuration of the value
'max_per_ip' in the agents
On Tue, Nov 20, 2012 at 12:51 PM, Andy Parker a...@puppetlabs.com wrote:
This is on 2.7.19. Added ticket
http://projects.puppetlabs.com/issues/17747.
Sweet, thank you for taking the time to do this.
I believe this is related to 2.7 eagerly loading the providers during
pluginsync. In 3.0 the
On Tuesday, November 20, 2012 11:30:47 AM UTC-5, Matthew Burgess wrote:
On Tue, Nov 20, 2012 at 1:06 PM, Ugo Bellavance ug...@lubik.cajavascript:
wrote:
However, I would need to push a different file to my NTP servers (the
puppet://$puppet_server/files/ntp.conf) are for clients. How
On Mon, Nov 19, 2012 at 7:01 AM, bowlby bramenn...@gmail.com wrote:
Hi,
I'm running into a problem using the puppetlabs provided vcsrepo-module. It
keeps giving the same error:
--
notice: /Stage[main]//Vcsrepo[/usr/share/test2]/ensure: Creating repository
from latest
err:
On Tuesday, November 20, 2012 2:25:13 PM UTC-5, Ugo Bellavance wrote:
On Tuesday, November 20, 2012 11:30:47 AM UTC-5, Matthew Burgess wrote:
On Tue, Nov 20, 2012 at 1:06 PM, Ugo Bellavance ug...@lubik.ca wrote:
However, I would need to push a different file to my NTP servers (the
On Mon, Nov 19, 2012 at 4:01 AM, bowlby bramenn...@gmail.com wrote:
Hi,
I'm running into a problem using the puppetlabs provided vcsrepo-module.
It keeps giving the same error:
--
notice: /Stage[main]//Vcsrepo[/usr/share/test2]/ensure: Creating
repository from latest
err:
On Tuesday, November 20, 2012 8:42:02 AM UTC-6, KomodoDave wrote:
I'm trying to use my first custom function *prefixPaths*.
The function is defined in:
my_module/lib/puppet/parser/functions/prefixPaths.rb
Listing:
module Puppet::Parser::Functions
newfunction(:prefixPaths, :type =
Hi everyone,
I am working now to introduce the puppet firewall module to our environment.
On the first run, all our rules are deployed on the server with no errors.
However, on subsequent runs, even without changing rules, I get errors like
the following:
The iptables provider can not handle
Lets say I wanted to make a declared type for adding custom firewall rules
on a per-node basis.
define myfirewall::accept($proto, $port, $sources=[]) {
include defaultfirewall
$sources.each do |source|
firewall { 100 allow $proto $port for $source:
proto = $proto,
Hi all;
There has been a separate thread recently in this mailing list around
adding a Chef broker plugin to Razor. As this effort has progressed, the
realization has gradually sunk in that the parameters that are needed for a
successful a handoff to Puppet might not be the same as the
Hi
I am trying to install a yum repo using puppet, so they can install a
package. But i am struggling. I cannot find much help online at all.
The only code I got working was as follows, but it works first time, but
additional times it gives an error due to it being installed. Does it
matter
There is a built in Puppet type for yum repos. The docs for it are
here: http://docs.puppetlabs.com/references/latest/type.html#yumrepo
You could also use a package resource with a sourch of the rpm,
something like...
package {virtualmin:
ensure = present,
source =
On Tuesday, November 20, 2012 3:51:07 PM UTC-5, Dusty Doris wrote:
Lets say I wanted to make a declared type for adding custom firewall rules
on a per-node basis.
define myfirewall::accept($proto, $port, $sources=[]) {
include defaultfirewall
$sources.each do |source|
I was going through the open bugs and came across an interesting one[1],
where if a node has a certain name, and includes a class of the same name,
the class doesn't get loaded.
I did discover a workaround - two of them, actually.
However, I was somewhat curious. Is this something people do?
This is an aside, but you should really be using gpgcheck. I define
repositories with yumrepo, but I also have a separate file resource to copy
the gpgkey to a local directory and set the appropriate yumrepo parameters.
On Tuesday, November 20, 2012 1:22:55 PM UTC-8, pmbuko wrote:
On Nov 20,
On Tue, Nov 20, 2012 at 4:09 PM, gilbertc777 gilbertc...@gmail.com wrote:
Hi everyone,
I am working now to introduce the puppet firewall module to our environment.
On the first run, all our rules are deployed on the server with no errors.
However, on subsequent runs, even without changing
On 11/20/2012 03:12 PM, Matthew Burgess wrote:
(there was a fairly recent thread in this
group when PuppetLabs released puppet-3.0 into the same repository as
puppet-2.x. It caught a lot of folks out).
I didn't use ensure=latest and didn't plan to upgrade so soo, but was
also in trouble
thanks for all that. The examples above look like some I found online (not
specific to Virtualmin) which failed with errors. but maybe there were
slight differences. I am off work for couple of days now, so will try these
when I get back. I really appreciate it. you can tell I am new, once I
Cool, cool. If I'm installing a repo for the first time, I usually install
the rpm manually on a test machine, then grab the .repo file from
/etc/yum.repos.d and the referenced gpgkey, and add everything in Puppet
with a custom define (which is really a wrapper around yumrepo with the
Good to hear! I'm looking forward to being able to replace Dashboard, and
PuppetDB has been working great for everything else so far.
On Tue, Nov 20, 2012 at 2:05 PM, Deepak Giridharagopal
dee...@puppetlabs.com wrote:
On Tue, Nov 20, 2012 at 2:30 PM, Stephen Price ste...@gmail.com wrote:
I
Nothing wrong with that. It's a very common practice.
One thing I would recommend is setting your array to a variable and passing
that variable to the define. It just makes your code cleaner and easier to
read:
node 'mynode' {
include firewall
$sources = ['node1', 'node2']
On 11/20/2012 02:06 PM, Ugo Bellavance wrote:
The setup is that I have 2 NTP servers that sync to servers on the
and all my servers and equipment sync to these two servers.
I created two classes for this purpose - ntp::client and ntp::server,
and use data from hiera. Although I could maybe
Thanks for the reply, I did run into one problem with duplicate
declarations. Say I wanted to include node1 and node2 in a group of
servers for a particular rule. Then wanted to just have node1 in a second
rule.
eg:
node 'mynode' {
include firewall
$apps = ['node1', 'node2']
$ssl
Hi Jeff,
Let me try to clarify as the node is on a disconnected network and I am not
able to transmit logs from it.
If I stop iptables, delete everything in the file, and then run the
firewall rules on the server, all the rules are applied with no errors.
However, when I trigger another run of
On 11/13/2012 03:46 PM, Darin Perusich wrote:
This is systemd weirdness. I've run into this error before on SuSE
with other init scripts and the fix was to reboot the machine. Then
you won't get the Loaded: error (Reason: No such file or directory)
anymore.
:-/
A little offtopic but I'm not
On 11/20/2012 11:51 PM, Charles Gilbert wrote:
Hi Jeff,
Let me try to clarify as the node is on a disconnected network and I am
not able to transmit logs from it.
If I stop iptables, delete everything in the file, and then run the
firewall rules on the server, all the rules are applied with no
Following the
http://docs.puppetlabs.com/guides/scaling_multiple_masters.html actually
worked better. The Pro Puppet was missing the part of running puppet agent
in the 2nd master with the dns_alt_names or I missed that part, anyway it
is working now :)
Felipe
On Friday, November 16, 2012
I found out that I was missing a change in puppet.conf due using
Puppetmaster Passenger:
from:
ssl_client_header = SSL_CLIENT_S_DN
to:
ssl_client_header = HTTP_X_SSL_SUBJECT
Now the permission issues are gone.
Weird enough that my Puppetmaster 2.7.x environment works without this
change.
That may be the case. I am relatively new to puppet and am still getting
used to some of the features. Does what I describe ring a bell to anyone
though?
On Tue, Nov 20, 2012 at 6:11 PM, Jakov Sosic jso...@srce.hr wrote:
On 11/20/2012 11:51 PM, Charles Gilbert wrote:
Hi Jeff,
Let me try
For what its worth:
This seems to resemble my problem:
http://projects.puppetlabs.com/issues/16675
I will attempt to track this to see if any changes get pushed.
On Tue, Nov 20, 2012 at 6:28 PM, Charles Gilbert gilbertc...@gmail.comwrote:
That may be the case. I am relatively new to puppet
Thanks, I went ahead and added an exit 1 at the bottom of each of
these scripts to shut it up. At least, in the case of the cups-
config-daemon, it's been deprecated so I can just remove that check.
HIDD is another issue. Most of the init.d scripts use RETVAL=$?
after the status) query -- so
On Tuesday, November 20, 2012 3:13:03 PM UTC-5, Ugo Bellavance wrote:
On Tuesday, November 20, 2012 2:25:13 PM UTC-5, Ugo Bellavance wrote:
On Tuesday, November 20, 2012 11:30:47 AM UTC-5, Matthew Burgess wrote:
On Tue, Nov 20, 2012 at 1:06 PM, Ugo Bellavance ug...@lubik.ca wrote:
On Tuesday, November 20, 2012 5:28:00 PM UTC-5, Jakov Sosic wrote:
On 11/20/2012 02:06 PM, Ugo Bellavance wrote:
The setup is that I have 2 NTP servers that sync to servers on the
and all my servers and equipment sync to these two servers.
I created two classes for this purpose -
In the puppetlabs-firewall modules I'm expecting that you can send in an
array of source addresses, as declared in lib/puppet/type/firewall.rb.
However, it isn't applying those rules for me.
For example in lib/puppet/type/firewall.rb
# Generic matching properties
newproperty(:source) do
On 11/16/2012 06:17 PM, Alex Stanhope wrote:
On Friday, November 16, 2012 5:11:22 PM UTC, Ellison Marks wrote:
Could you give some more info on what you're trying to accomplish
with this? That way we might offer some ideas to help.
Of course. I use a temporary file to store a private
Thanks Guillermo. I appreciate your reply.
I am trying to batch these entries, which is why I was originally asking
about how to iterate on an array inside a defined type. The reasoning for
this, is that I will have somewhere between 20 and 40 IPs that need access
to certain ports on
Instead of *is this something you do* should the question not instead be *is
this something that should break*?
Unless the nested resource has the same resource type and namevar as the
outer resource, this seems like it *should* work.
Dave
On Tuesday, November 20, 2012 9:32:07 PM UTC, llowder
I don't get the expected output... (a list of my nodes)..
only the deprecation warning.
Il giorno martedì 20 novembre 2012 18:37:49 UTC+1, Bruno Leon ha scritto:
Does it fail or only warn ?
I can only see dprecation warnings in your message.
--
Bruno
On November 19, 2012
72 matches
Mail list logo