Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module not working for me #21

Open
SushilRangari opened this issue Feb 9, 2018 · 0 comments
Open

Module not working for me #21

SushilRangari opened this issue Feb 9, 2018 · 0 comments

Comments

@SushilRangari
Copy link

Hello,

I am using this module inside other class like below, but when I am running the puppet command on the remote machine, it's not getting executed at all.

class majorupgrade::redis ( ) {
some code....

class add_sysctl_setting {

sysctl { 'kernel.dmesg_restrict':
ensure => present,
value => '1',
target => "/etc/sysctl.conf",
}
}
}

Master Host : AWS
Remote host : Centos 7

Module installed :

[root@staging]# puppet module list
/etc/puppetlabs/code/environments/production/modules
├── herculesteam-augeasproviders_core (v2.1.4)
├── herculesteam-augeasproviders_sysctl (v2.2.0)
├── perficient-puppet (v0.1.0)
└── puppetlabs-stdlib (v4.5.1)

but currently, i am deploying changes for staging instance of the remote machine and I copy pasted modules directories from production path to staging path

[root@prftpuppet modules]# ls -tlr
drwxrwxr-x+ 8 PDEPLOY PDEPLOY 4096 Jan 29 08:18 perficient
drwxrwxr-x+ 6 PDEPLOY PDEPLOY 4096 Jan 29 08:18 stdlib
drwxr-xr-x+ 5 PDEPLOY PDEPLOY 4096 Feb 8 23:30 augeasproviders_sysctl

[root@prftpuppet modules]# pwd
/etc/puppetlabs/code/environments/staging/modules

Can you please suggest why this module is not working for me? and where i have to make changes in puppet to make it work.

Thanks and Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant