summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp24
1 files changed, 14 insertions, 10 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 6ac115d..3b0c02b 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -1,7 +1,7 @@
# See https://linuxconfig.org/how-to-install-nodejs-on-debian-9-stretch-linux
class nodejs {
file { '/etc/apt/trusted.gpg.d/nodesource.gpg':
- ensure => present,
+ ensure => absent,
mode => '0644',
owner => 'root',
group => 'root',
@@ -9,22 +9,26 @@ class nodejs {
}
file { '/usr/local/sbin/setup-nodejs-6.x':
- ensure => present,
+ ensure => absent,
mode => '0755',
owner => 'root',
group => 'root',
source => 'puppet:///modules/nodejs/setup_6.x.sh',
}
- exec { 'setup-nodejs-6.x':
- command => '/usr/local/sbin/setup-nodejs-6.x',
- user => 'root',
- creates => '/etc/apt/sources.list.d/nodesource.list',
- require => File['/etc/apt/trusted.gpg.d/nodesource.gpg', '/usr/local/sbin/setup-nodejs-6.x' ],
- }
+ #exec { 'setup-nodejs-6.x':
+ # command => '/usr/local/sbin/setup-nodejs-6.x',
+ # user => 'root',
+ # creates => '/etc/apt/sources.list.d/nodesource.list',
+ # require => File['/etc/apt/trusted.gpg.d/nodesource.gpg', '/usr/local/sbin/setup-nodejs-6.x' ],
+ #}
- package { [ 'nodejs', 'build-essential', 'libssl-dev' ]:
+ package { [
+ 'nodejs',
+ #'build-essential',
+ #'libssl-dev'
+ ]:
ensure => present,
- require => Exec['setup-nodejs-6.x'],
+ #require => Exec['setup-nodejs-6.x'],
}
}