Displaying 5 results from an estimated 5 matches for "a2dismod".
2011 Jun 14
5
puppet dashboard
I am using Ubuntu 10.04 and ruby-enterprise (not ubuntu ruby) and installed puppet via gem.
How can I install puppet-dashboard if I don''t see a gem available and if I use the ubuntu package, i get the whole slop of ruby packages sucked in (which i am trying to avoid)?
# dpkg -i puppet-dashboard_1.1.0-1_all.deb
Selecting previously deselected package puppet-dashboard.
(Reading database
2008 Dec 29
4
Using an Exec inside a define
...logoutput => on_failure,
creates => "/etc/apache2/mods-enabled/$name.load",
notify => Service["apache2"],
}
}
disabled: { exec { "a2dismod":
command => "/usr/sbin/a2dismod $name",
logoutput => on_failure,
unless => "test ! -e
/etc/apache2/mods-enabled/$name.load",
notify => Servic...
2020 Jun 22
1
Wrong version of php
...confined within the /etc directory: the FHS (q.v.) gives reasons why this is a Good Thing.
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
I read up on alternatives but it seems to require a2dismod and a2enmod which apparently are Debian solutions. I did try:
update-alternatives --set php /opt/rh/rh-php72/root/usr/bin/php
but that did not make any difference to this script. It must be reading the location of php from somewhere else.
Surely there must be a system-wide way of forcing all use...
2010 Mar 04
3
Dependency cycles, please help.
...ec { "/usr/sbin/a2enmod $name":
unless => "/bin/readlink
${apache2_mods}-enabled/${name}.load",
notify => Exec["force-reload-apache2"]
}
}
''absent'': {
exec { "/usr/sbin/a2dismod $name":
onlyif => "/bin/readlink
${apache2_mods}-enabled/${name}.load",
notify => Exec["force-reload-apache2"]
}
}
default: { err ( "Unknown ensure value: ''$ensure''" ) }
}...
2020 Jun 22
2
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 sure
>> /all/ processes use php72 rather than the default 54 in CentOS 7?
>> Surely there must be a better way than overwriting /usr/bin/php. What
>> have I forgotten to do?
>>
> You can't/shouldn't do that. The point of the Enterprise OS is that
>