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

Fix issue #161 #520

Merged
merged 3 commits into from
Oct 31, 2017
Merged

Fix issue #161 #520

merged 3 commits into from
Oct 31, 2017

Conversation

lutter
Copy link
Member

@lutter lutter commented Oct 28, 2017

@DaffyDuke could you just quickly check that the updated resolv.aug fixes Issue #161 for your case ? Since this is all about space and line endings, I don't want to solely rely on what I cut & paste out of github ;)

@DaffyDuke
Copy link

Hi, patch successfully applied to my resolv.aug thank you. augtool do the job now.
It fixed my problem, thank you.

#  augtool -e "print /files/etc/resolv.conf"
augtool> print /files/etc/resolv.conf 
/files/etc/resolv.conf
/files/etc/resolv.conf/#comment[1] = "Created by cloud-init on instance boot automatically, do not edit."
/files/etc/resolv.conf/#comment[2] = "generated by /usr/sbin/dhclient-script"
/files/etc/resolv.conf/search
/files/etc/resolv.conf/search/domain[1] = "awsqualif.net"
/files/etc/resolv.conf/search/domain[2] = "censured_here"
/files/etc/resolv.conf/search/domain[3] = "censured_here"
/files/etc/resolv.conf/search/domain[4] = "censured_here"
/files/etc/resolv.conf/nameserver[1] = "censured_here"
/files/etc/resolv.conf/nameserver[2] = "censured_here"
/files/etc/resolv.conf/options
/files/etc/resolv.conf/options/timeout = "2"
/files/etc/resolv.conf/options/rotate

Now, I have to request this to puppet community, my real lens was included in puppet-agent implementation.
Regards,

@lutter lutter merged commit 79acf47 into hercules-team:master Oct 31, 2017
@lutter lutter deleted the resolv branch October 31, 2017 16:31
@lutter
Copy link
Member Author

lutter commented Oct 31, 2017

Thanks for checking !

Until augeas gets updated (and this change won't appear until augeas 1.10 in releases), you can always take the new resolv.aug file and put it into /usr/share/augeas/lenses (where it will hang around across package updates) or /usr/share/augeas/lenses/dist (where it will be overwritten by a package update)

@DaffyDuke
Copy link

DaffyDuke commented Nov 2, 2017 via email

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