Once again Stefan, thanks. That explanation makes sense.
"The thing between <% and %> will be interpreted as ruby code but you mix
> in erb syntax inside this ruby fragment.
>
I once read somewhere that erb was really flexible. I guess not that
flexible :)
Regards
Gary
--
You received this
Excuse me, I did just type from my memory without an exact look to path :).
The folder structure that happens to be deployed is the following:
Glassfish dir
PUPPET\CONFDIR\MODULES\GLASSFISH\LIB
\---puppet
+---provider
| | asadmin.rb
| |
| +---application
| |
On 24 July 2012 00:43, Ryan Bowlby wrote:
> Can anyone comment on their experiences with librarian-puppet or using git
> superproject with per puppet module repositories? We are in the midst of
> determining which route is optimal for our environment. It seems like using
> git superprojects would
Hi,
I am trying to configure my puppet master to be served by
Apache/Passenger. I was successful in getting puppet-dashboard to run
under Apache/Passenger, but have been running into issues with puppet
master.
When I visit https://foo:8140 in my browser to test things out, I get:
Ruby on Ra
>
> This was done because of #6663 security concerns, I think you can
> modify the puppet keylength settings when generating keys.
>
>
>
Hi Nan, I was just highlighting the limitation of the F5 LTM in versions
prior to 10.2 since the issue is annoying hard to troubleshoot and was the
source
Oh yeah one more thing, when generating the ssl certs it has to be on the
puppet.conf at the [main] block because when the client generates its SSL
cert it will generate the key at the default keylength as well which as
stated causes a problem with client authentication because of the F5
limita
On Tuesday, July 24, 2012 10:25:12 PM UTC-5, Brian Gupta wrote:
>
> And is the following the best way to support this: (ie: will it be
> supported for the foreseeable future.)
>
> $modulepath/modulename/manifests/parentclass/subclassname.pp the way
> the autoloader supports this?
>
>
Yes, thi
On Tuesday, July 24, 2012 10:25:12 PM UTC-5, Brian Gupta wrote:
>
> And is the following the best way to support this: (ie: will it be
> supported for the foreseeable future.)
>
> $modulepath/modulename/manifests/parentclass/subclassname.pp the way
> the autoloader supports this?
>
Yes. The
On Tuesday, July 24, 2012 10:35:45 AM UTC-5, Jist Anidiot wrote:
>
>
>
> On Tuesday, July 24, 2012 9:31:39 AM UTC-4, jcbollinger wrote:
>>
>> [...]
>> define mything () {
>> # $name == $title == the version
>>
>> $user_and_version = split($name, ':')
>> $user = $user_and_version[0]
>> $ve
On Tuesday, July 24, 2012 9:17:40 AM UTC-5, olli...@googlemail.com wrote:
>
>
> There is nothing related to this in the debug logs of a run the notify was
> put in originally to make sure the class was called which is was. The only
> thing in this is that the catalog run completes without error
I've heard this project mentioned a few times and I have found the projects
site on github.
Is there information available on how to setup the repos that it would pull
from (layout etc)? The boxes I would be using this on do not have access to
the Puppet Forge but this project looks like it wou
On Wednesday, July 25, 2012 9:29:18 AM UTC-4, jcbollinger wrote:
>
>
>
> Something is very strange with that. It is routine practice for
> definition bodies to set local variables, and for such definitions to be
> instantiated multiple times. Among other things, it is sometimes used to
> mangl
On Tue, Jul 24, 2012 at 9:54 AM, ZJE wrote:
> I'm still a little confused - is there an example of a type/provider where
> this is done correctly?
> Thanks!
>
Not that I know of. You could be the first! =)
What's confusing you?
As a basic example, here is the initial change set that migrates
I've been searching around but haven't found a way to do something
like a purge with augeas.
If you have a file such as
[iniheader]
entry1 (managed by puppet)
entry2 (not managed by puppet)
And you want to add 'entry3' as well as removing anything not managed
by puppet in that subsection then yo
On 25/07/12 16:01, Trevor Vaughan wrote:
> I've been searching around but haven't found a way to do something
> like a purge with augeas.
>
> If you have a file such as
>
> [iniheader]
> entry1 (managed by puppet)
> entry2 (not managed by puppet)
>
> And you want to add 'entry3' as well as remov
Hey guys,
I am getting started with puppet and started writing some modules which include
client-server installation model. I was wondering if there is any possibility
of acheving inter-node dependencies using puppet for example:
Say, I have dependency between starting servcies on two nodes. Fir
Hi!
I am encountering something that I am not sure is a bug or not, so I
thought I'd post a question.
Running Puppet 2.7.18 on Windows 2003.
Basically, what I want to do is manage nsclient++ on windows. I am able to
manage the files just fine, but restarting doesn't work because of bug
13489<
I have a puppet master running on 1 node and a puppet client running on
another node. I am trying to execute a shell script on the client from the
puppet master. The issue is that the script is interactive and expects a
couple of inputs initially from the user on the command line. Is there a
wa
Hi,
I am trying to
exec { myexectest:
path=> "/bin:/usr/bin:/usr/sbin",
cwd => "/home/user/.ssh",
command =>"echo test > test.txt",
onlyif => "test -f test.txt"
}
it doesnt work any clues why? I think it cannot change directory to a DOT
directory
please HE
Hello,
i have a problem in my sudo manifest file, because in the variable $name
comes sometimes usernames like user.lastname, but i need for sudo
(includedir */etc/sudoers.d/*) file names with no dots (like user_lastname).
I need a new variable, where is the dots change by underscores.
My fir
On Wed, Jul 25, 2012 at 08:47:14AM -0700, Markus Rekkenbeil wrote:
> Hello,
>
> i have a problem in my sudo manifest file, because in the variable $name
> comes sometimes usernames like user.lastname, but i need for sudo
> (includedir /etc/sudoers.d/) file names with no dots (like user_lastnam
On Tue, Jul 24, 2012 at 05:16:01PM -0700, Nikolaos Hatzopoulos wrote:
>Hi,
>
>I am trying to
>exec { myexectest:
> path => "/bin:/usr/bin:/usr/sbin",
> cwd => "/home/user/.ssh",
> command =>"echo test > test.txt",
> onlyif => "test -f te
I have set up inventory service to save my client's fact, as
[master]
facts_terminus = inventory_active_record
dblocation = {sqlite file path (sqlite only)}
dbadapter = {sqlite3|mysql|postgresql|oracle_enhanced}
dbname = {database name (all but sqlite)}
dbuser = {database user
I have set up inventory service to save my client's fact, as
[master]
facts_terminus = inventory_active_record
dblocation = {sqlite file path (sqlite only)}
dbadapter = {sqlite3|mysql|postgresql|oracle_enhanced}
dbname = {database name (all but sqlite)}
dbuser = {database user
>From: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com]
>On Behalf Of Christopher Wood
[snip]
>You could use an inline template to run the substitution via ruby. Example:
>
>$java_home = inline_template('<%= /jre-([0-9])u([0-9]+)/.match(name); p =
>"/opt/jre1." + $1 + ".0_" +
no it is working I made a mistake I kind of confused with test command
for:
test -e /folder/file
does not work on my centos box it needs cwd to the folder
--Nikos
On Wednesday, July 25, 2012 9:07:49 AM UTC-7, Christopher Wood wrote:
>
> On Tue, Jul 24, 2012 at 05:16:01PM -0700, Nikolaos Hatzopou
this is working:
exec { myexectest:
path=> "/bin:/usr/bin:/usr/sbin",
cwd => "/home/user/.ssh",
command =>"echo test > test.txt",
unless => "test -e test.txt"
}
the idea was if a file does not exist just execute something I don't if
there is a better way of
On Wed, Jul 25, 2012 at 04:43:31PM +, Kinzel, David wrote:
> >From: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com]
> >On Behalf Of Christopher Wood
>
> [snip]
>
> >You could use an inline template to run the substitution via ruby. Example:
> >
> >$java_home = inline_temp
So let's say you have two nodes
node1 and node2
node1 has a text file with one line saying in /etc/mynode.txt:
node1
how you receive this information and pass it to node2 using puppet?
--Nikos
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
Hi Dan,
On Tue, Jul 24, 2012 at 4:00 PM, Dan McManus wrote:
>
> Basically, what I want to do is manage nsclient++ on windows. I am able to
> manage the files just fine, but restarting doesn't work because of bug 13489.
I'd recommend trying out the latest version of puppet 2.7.x, directly
from g
they will conflict
you should definitely look into puppetdb as a more scalable solution
than the active_record terminus for both inventory service and
storeconfigs
storedconfigs stores resources from your puppet manifests and
inventory service stores facts.
- Justin
sorry for the top post
On
storeconfig also store facts, as I can see from the table list after
I configured stored config:
+--+
| Tables_in_puppet |
+--+
| fact_names |
| fact_values |
| hosts|
| inventory_facts |
| inventory_nodes |
| param_names |
| param_val
Hi Dominic,
Yeah, multiple augeas resources is the problem.
The comment is a reasonable idea but I think it'll be more work than
just falling back to concat.
Thanks,
Trevor
On Wed, Jul 25, 2012 at 11:35 AM, Dominic Cleal wrote:
> On 25/07/12 16:01, Trevor Vaughan wrote:
>> I've been searching
On Wed, Jul 25, 2012 at 11:08 AM, Hai Tao wrote:
> storeconfig also store facts, as I can see from the table list after
> I configured stored config:
>
> +--+
> | Tables_in_puppet |
> +--+
> | fact_names |
> | fact_values |
> | hosts|
> | inv
I solved it. My puppetmaster and puppet-dashboard apache configs were
conflicting. Looks like it was related to RackBaseURI and RailsBaseURI.
Under VirtualHost definition in /etc/httpd/conf.d/puppetmaster.conf I added:
RackBaseURI /
Under VirtualHost definition in /etc/httpd/conf.d/dashboa
On Wednesday, July 25, 2012 9:57:20 AM UTC-5, Jeff McCune wrote:
>
> On Tue, Jul 24, 2012 at 9:54 AM, ZJE wrote:
>
>> I'm still a little confused - is there an example of a type/provider
>> where this is done correctly?
>> Thanks!
>>
>
> Not that I know of. You could be the first! =)
>
> What's
On Mon, Jul 23, 2012 at 8:43 PM, Dan Bode wrote:
>
>
> On Mon, Jul 23, 2012 at 3:43 PM, Ryan Bowlby wrote:
>
>> Can anyone comment on their experiences with librarian-puppet or using
>> git superproject with per puppet module repositories?
>
>
> I tried using git submodules for a long time. I fo
On Wednesday, July 25, 2012 12:05:50 PM UTC-5, Nikolaos Hatzopoulos wrote:
>
> So let's say you have two nodes
> node1 and node2
>
> node1 has a text file with one line saying in /etc/mynode.txt:
>
> node1
>
> how you receive this information and pass it to node2 using puppet?
>
The standard me
On Tuesday, July 24, 2012 4:38:12 PM UTC-5, Swapnil Mankar wrote:
>
> I have a puppet master running on 1 node and a puppet client running on
> another node. I am trying to execute a shell script on the client from the
> puppet master. The issue is that the script is interactive and expects a
what if I need to install foreman, which uses stored config, right?
Can foreman use the puppetDB as its database?
On Wed, Jul 25, 2012 at 11:33 AM, Justin Stoller wrote:
> On Wed, Jul 25, 2012 at 11:08 AM, Hai Tao wrote:
>> storeconfig also store facts, as I can see from the table list after
>>
On Wednesday, July 25, 2012 9:55:36 AM UTC-5, Jist Anidiot wrote:
>
> On Wednesday, July 25, 2012 9:29:18 AM UTC-4, jcbollinger wrote:
>>
>>
>>
>> Something is very strange with that. It is routine practice for
>> definition bodies to set local variables, and for such definitions to be
>> inst
so we define that file would be exported from node1 like:
@@file { "etc/mynode.txt:":
content => "${mycontent}"
}
and on the node2
File <| |>> ?? I want only the info from node1 not from all nodes that
means I have to group the nodes for the specific action?
who it works here? I am pretty new
Hi,
when I run "gem install rails", it will install the latest version,
3.2.6, and will also install its dependencies, such as acitverecord
3.2.6. However, this version has a lot of bugs (which is actually from
puppet), such as "Error 400 on SERVER: stack level too deep".
so, what version shoul
Check out the "creates" meta parameter.
http://docs.puppetlabs.com/references/latest/type.html#exec
Den
On 26/07/2012, at 2:58, Nikolaos Hatzopoulos wrote:
> this is working:
>
> exec { myexectest:
> path=> "/bin:/usr/bin:/usr/sbin",
> cwd => "/home/user/.ssh",
> co
Hi,
I notice that many components of puppet do not scale well and are not
intended for large environment. For example, stored config and
inventory service. In order to scale, we need to use puppetDB, right?
Another example is the webrick, and which should be replaced by a
decent web server such as
Sounds like you should be talking to your managers about buying Puppet
Enterprise.
On Wed, Jul 25, 2012 at 02:00:37PM -0700, Hai Tao wrote:
> Hi,
>
> I notice that many components of puppet do not scale well and are not
> intended for large environment. For example, stored config and
> inventory
Yeap that works also
exec { myexectest:
path=> "/bin:/usr/bin:/usr/sbin",
cwd => "/home/user/.ssh",
creates=> "/home/user/.ssh/test.txt"
command =>"echo test > test.txt",
}
it needs the absolute path on creates
--Nikos
On Wed, Jul 25, 2012 at
On 7/25/2012 1:50 PM, Hai Tao wrote:
Hi,
when I run "gem install rails", it will install the latest version,
3.2.6, and will also install its dependencies, such as acitverecord
3.2.6. However, this version has a lot of bugs (which is actually from
puppet), such as "Error 400 on SERVER: stack le
I see. so it is on purpose to make it not easy to use so the
enterprise can be sold? :)
On Wed, Jul 25, 2012 at 2:02 PM, Christopher Wood
wrote:
> Sounds like you should be talking to your managers about buying Puppet
> Enterprise.
>
> On Wed, Jul 25, 2012 at 02:00:37PM -0700, Hai Tao wrote:
>>
On Wed, Jul 25, 2012 at 02:00:37PM -0700, Hai Tao wrote:
> Hi,
>
[...]
>
> My question is why the designer of puppet did not consider this and
> integrate everything into a complete solution at the beginning, rather
> than having us have to reconfigure everything by hand. Who will use
> puppet if
On Wed, Jul 25, 2012 at 02:20:17PM -0700, Hai Tao wrote:
> I see. so it is on purpose to make it not easy to use so the
> enterprise can be sold? :)
There are different skill levels at different tasks in the enterprise space,
and it is legitimate that some organizations are better off with a pref
I just installed PE, and notice that it does not use either stored
config nor puppetdb. It uses the activerecord to store facts in a
mysql db.
Why puppetlabs let us to use these but they do not use them in their
enterprise version?
Thanks.
Hai T.
--
You received this message because you are s
I would like to set the nx_daemon_user variable using puppet-dashboard but
I can't get it to work. Is this even possible?
If I this in my own module:
class { 'nginx::params':
nx_daemon_user => 'master.pp';
}
class { 'nginx': }
I get the message: "Invalid parameter nx_daemon_u
- Original Message -
| I just installed PE, and notice that it does not use either stored
| config nor puppetdb. It uses the activerecord to store facts in a
| mysql db.
|
| Why puppetlabs let us to use these but they do not use them in their
| enterprise version?
|
|
| Thanks.
|
| Hai
Hi
Is it possible to somehow list or view dependency tree of the classes,
packages, services, and other resources for some host?
I would like to polish my setup so that the first puppet finishes
everything. Right now I have problems that I have to have 2 or 3
conncurent runs after installati
- Original Message -
| Hi
|
| Is it possible to somehow list or view dependency tree of the
| classes,
| packages, services, and other resources for some host?
|
| I would like to polish my setup so that the first puppet finishes
| everything. Right now I have problems that I have to have
On 07/25/2012 11:20 PM, Hai Tao wrote:
I see. so it is on purpose to make it not easy to use so the
enterprise can be sold? :)
If you don't know how to migrate puppet to passenger (either on nginx or
apache), then I don't understand how come that you are able to configure
your machines throug
On 07/25/2012 11:25 PM, Stefan Schulte wrote:
You probably want Puppet Enterprise as it comes with one installer for
all these dependencies
http://puppetlabs.com/puppet/faq/
Is it a bundle with everything prepackaged? Or does it use system's
httpd for example?
I hate bundles :D
--
Jakov
On Wed, Jul 25, 2012 at 11:19 PM, Hai Tao wrote:
> what if I need to install foreman, which uses stored config, right?
> Can foreman use the puppetDB as its database?
>
foreman doesnt really need store configs, see
http://theforeman.org/projects/foreman/wiki/Puppet_Facts
Ohad
>
> On Wed, Jul 2
59 matches
Mail list logo