Skip to content

add force to directory absent resources#9

Merged
lvicainne merged 1 commit into
lvicainne:masterfrom
qs5779:que/fix_remove_directory
Aug 6, 2017
Merged

add force to directory absent resources#9
lvicainne merged 1 commit into
lvicainne:masterfrom
qs5779:que/fix_remove_directory

Conversation

@qs5779

@qs5779 qs5779 commented Jul 16, 2017

Copy link
Copy Markdown
Contributor

add force to directory absent resources, added style specified class name at top

my version of puppet will not remove a directory unless force is true ( or yes )
caused a refresh for every puppet run

@qs5779

qs5779 commented Jul 16, 2017

Copy link
Copy Markdown
Contributor Author

And just as an FYI I think you are defaulting to the incorrect directories for RedHat, and Ubuntu. I run CentOS a RedHat family, and Ubuntu a Debian family. Here are their base confg files respectively.

root@nim:/etc/opendkim

rpm -ql opendkim | grep etc

/etc/opendkim
/etc/opendkim.conf
/etc/opendkim/KeyTable
/etc/opendkim/SigningTable
/etc/opendkim/TrustedHosts
/etc/opendkim/keys
/etc/sysconfig/opendkim
/etc/tmpfiles.d/opendkim.conf
root@nim:/etc/opendkim

cat /etc/redhat-release

CentOS Linux release 7.3.1611 (Core)

✔ ~/my/dev/pup/wtfo [production|✔]
13:55 $ dpkg-query -L opendkim | grep etc
/etc
/etc/opendkim.conf
/etc/dkimkeys
/etc/dkimkeys/README.PrivateKeys
/etc/init.d
/etc/init.d/opendkim
/etc/default
/etc/default/opendkim
✔ ~/my/dev/pup/wtfo [production|✔]
14:51 $ uname -a
Linux toshiba-ubuntu

@lvicainne
lvicainne merged commit 284d43f into lvicainne:master Aug 6, 2017
@lvicainne

Copy link
Copy Markdown
Owner

Hi @qs5779 !
Thanks for this other PR ! :-)
I take note about the usual default directory, I will do a commit soon !

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

Successfully merging this pull request may close these issues.

2 participants