similar to: use of exec in puppet

Displaying 20 results from an estimated 700 matches similar to: "use of exec in puppet"

2008 Dec 29
4
Using an Exec inside a define
I''m working on a definition for activating/deactivating Apache modules on an Ubuntu system. Inside my Apache class I have this definition: define module($ensure) { case $ensure { enabled: { exec { "a2enmod": command => "/usr/sbin/a2enmod $name", logoutput => on_failure,
2010 Mar 04
3
Dependency cycles, please help.
Hi, I''m having trouble writing a recipe to handle apache/passenger. First, here is my apache2 class, found here : http://www.reductivelabs.com/trac/puppet/wiki/Recipes/DebianApache2Recipe --------------------------------------------- $apache2_sites = "/etc/apache2/sites" $apache2_mods = "/etc/apache2/mods" class apache2 { [...] define module ( $ensure =
2008 Jul 14
4
Execute some steps if a file isn't present
Hi all, I''ve come quite far with my puppet setup, but a few times I got this problem: I want to execute a few things if a file isn''t present on the puppet client. For example: I want puppet to check if the mod_passenger apache module exists. If not: installl passenger from gem. Execute the installer, copy the config file and enable the module with a2enmod. What would be the
2005 Feb 14
1
upgradation to centos 3.4
hi, i'm new to linux. right now i'm using centos 3.3. i want to upgrade to centos 3.4. i haven't used yum before. i have to go through a proxy to access the internet. so i thought it isn't able to access the proxy. after some searching on the net i could set the http proxy in the /etc/profile file. i used the following lines in the file(with the actual ip address and port
2007 Dec 07
1
Ruby on Rails applications with Mongrel cluster
Hello All I am trying to install 5 mongrel servers against my app. i am using Vista. I found this article on a website.. but am stuck on one point. here are some notes from article: Now enable the needed modules (url rewriting, proxy, proxy_balancer e proxy_http) by editing the httpd.conf file (under c: \Apache_Software_Foundation\Apache2.2\conf, if you installed Apache in its standard path).
2006 Dec 29
9
Error : No protocol handler was valid for the URL...
Hi everybody, I just suscribe to the list because I have a problem using mongrel and mongrel_cluster... I setup a server (debian unstable wich provide apache 2.2.3 as a pakage) but I have an error when I try to access my application : ERROR 403 : Forbidden, You don''t have permission to access / on this server. When I check apache''s logs I found that : [warn] proxy: No
2015 May 11
6
Authenticating Apache Against Active Directory
Hello, Using Nagios on Ubuntu 14.04.1 LTS. I'm attempting to authenticate users against Samba 4.2.1. When I edit 'apache2.conf' with <Directory /> Options FollowSymLinks AllowOverride None Require all granted Allow from all AuthName "AD authentication" AuthBasicProvider ldap AuthType Basic
2020 Jun 22
1
Wrong version of php
On 06/22/2020 05:41 PM, Phoenix, Merka wrote: > ----Original Message----- > From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of H > Sent: Monday, 22 June, 2020 14:31 > To: centos at centos.org > Subject: Re: [CentOS] Wrong version of php > >>> On 06/22/2020 05:21 PM, Pete Biggs wrote: >>> I have googled without finding the answer but how do I make
2010 Apr 24
5
About your application's environment URL not found
Hi I am a newbie (which you probably guessed from the subject) and have just installed ruby 1.8.7, rails 2.3.5 and apache 2.2.12 on ubuntu 9.10. I have created a rails app and edited my apache config as shown below. The Rails "Welcome aboard" page displays, but when I click on "About your application''s environment" I get "Not Found The requested URL
2010 Mar 04
2
exec failure
Hello, I''m using puppet 0.25.1 - and I''m trying to create a custom resource to use launchctl to stop a launchd job. command => "launchctl stop `launchctl list | grep $job_real | cut -f 3`", yeilds: err: //sav/Stop_launchd_job[com.Symantec.SymSecondaryLaunch]/Exec[com.Symantec.SymSecondaryLaunch]/returns: change from notrun to 0 failed: launchctl stop `launchctl
2007 Jan 25
8
Mongrel with mephisto on a Virtual Private Server
Hello everyone, I am trying to setup Mongrel to work with Apache on a VPS as part of a mephisto installation. Has anyone done this, and if so how did you edit your conf file to make it work? I used the info found on the mongrel site at: http://mongrel.rubyforge.org/docs/apache.html<http://mongrel.rubyforge.org/docs/apache.html> and one time I did get a mephisto splash screen, but it was
2012 Jan 13
2
Problem with not installing package, exec do an error
Hello I have a list of successive package, and it occured that some package are not installed. exec { ''sudo gem update --system'': path => [''/usr/bin/''], alias => updateGem, } package { '' libmemcached-dev'': ensure => present, alias => memDev, require => Exec[updateGem], } package { '' libmemcached-dbg'':
2013 Mar 12
4
PuppetDB http web interface user access
Hi All, Has anyone figured out a nice way to restrict user access to puppetdb''s http web interface? Such as a .htaccess method or something similar? I would prefer something along those lines instead of setting up firewall rules. -Zane -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and
2012 Oct 24
1
Exec python script on puppet clinet running on windows
I am trying to execute a python script from manifest file on puppet windows based client: exec {''ez_setup.py -U setuptools'': #command => ''C:\Python27\ez_setup.py -U setuptools'', cwd => ''C:\Python27'', path => ''C:\Python27;%PATH%'', #creates => ''C:\Program,
2011 Sep 14
10
fail to exec apt-get upgrade (change from notrun to 0 failed...)
So here is my manifest: class aguu { exec { "update": command => "apt-get update", path => "/usr/bin/" } exec { "upgrade": command => "apt-get upgrade -y", path => "/usr/bin/" } } It it supposed to run apt-get update + upgrade
2014 Mar 10
0
when a puppet exec resource contains several "single commands", puppet exec only fails if the last exec command fails
exec {'test': command => "/bin/ls /doesnotexit", } fails as expected: Error: /bin/ls /doesnotexit returned 1 instead of one of [0] Error: /Stage[main]//Exec[test]/returns: change from notrun to 0 failed: /bin/ls /doesnotexit returned 1 instead of one of [0] However, exec {'test': command => "/bin/ls /doesnotexit; /bin/echo hello", } does not
2011 Aug 16
0
help using unless in exec for postgres database creation
Hi, I have the following exec type: exec{"createdb": path => "/usr/bin:/usr/sbin:/bin", command => "sudo -u postgres createdb -U postgres -E UNICODE opennms", unless => "sudo -u postgres psql -l | grep opennms > /dev/null", require => Service["postgresql"], } Where this basically says, if the
2015 May 11
0
Authenticating Apache Against Active Directory
On 05/11/2015 08:24 AM, James wrote: > Hello, > > Using Nagios on Ubuntu 14.04.1 LTS. I'm attempting to authenticate > users against Samba 4.2.1. When I edit 'apache2.conf' with > > > <Directory /> > Options FollowSymLinks > AllowOverride None > Require all granted > Allow from all > AuthName
2006 Jun 15
12
RoR on Apache2
Hello, I''ve been going though the "4 Days on Rails" tutorial at http://rails.homelinux.org/ test-driving ruby on rails using the WEBrick server without problems. I''m trying to move the app to be seen by apache2, and am having some troubles. I''ve looked through many guides online which all say pretty much the same thing, which, I think, I am doing.
2010 Apr 16
1
Group Membership and Exec
Hi, I have a puppet module that I''m using to manage Oracle 11G. I''m using puppet 0.24.8 on 64-bit CentOS 5.4. Everything works properly except the execution of the oracle installer. It fails because it believes that the user it is running as is not a member of the proper groups. However, the user is in the groups, and if I log in as that user and run the same command that puppet