Semantics in Varnish

File change semantics

I'm starting to move a collection of puppet manifests to Puppet 3 (3.6.2), and I have fallen foul of a change in the semantics.

In our setup, each application can use a module "duplicity::backup" to get itself backed up by a host-wide duplicity service. Doing so creates an application-specific cron jobs (i.e. file in /etc/cron.d), named "${duplicity::crontabdir}/${duplicity::crontabstem}${name}". We have $duplicity_stem = "duplicity_backup, so we get files named things like "/etc/cron.d/duplicity-backup-trac".

In addition to this, our general "duplicity" module (which is requiredbyduplicity:backup uses tidy to remove any obsolete cron jobs. Specifically, it does...

# remove any non-managed duplicity files tidy { $crontab_dir: recurse => true, matches => "${crontab_stem}*"; }

These two play together nicely in Puppet 2.7: any files in /etc/cron.d that we put there are removed, but files with unrelated names are left alone.

But things have changed in Puppet 3.6.2, which complains that there is a dependency cycle

Error: Could not apply complete catalog: Found 1 dependency cycle: (File[/etc/cron.d/duplicity-backup-trac] => Tidy[/etc/cron.d] => Class[Duplicity] => Duplicity::Backup[trac-backups] => File[/etc/cron.d/duplicity-backup-trac])

What is the best way to fix this? To keep the current functionality of deleting some of the unmanaged files in the directory, but not all of them?

You might also like
Bjarne Stroustrup - The Essence of C++: With Examples in
Bjarne Stroustrup - The Essence of C++: With Examples in ...
HTML5 Tutorial For Beginners - 5 of 6 - New Semantic Elements
HTML5 Tutorial For Beginners - 5 of 6 - New Semantic Elements
Semantic Triangle of Meaning for Interpersonal Communication
Semantic Triangle of Meaning for Interpersonal Communication
Amazon Kubuntu 10.04 Desktop Edition
Software (Amazon)
  • Kubuntu 10.04 LTS brings you a stable, innovative and attractive platform for all your desktop needs
  • Latest version of the popular Plasma Desktop provides improved system tray with widgets, improved semantic search, new features such as window grouping
  • Amarok 2.3 media player features many bugfixes, enhancements, and visual changes, such as the new main toolbar and better podcast support
  • New touchpad configuration section of System Settings allows you to fine-tune how your laptop s touchpad behaves
  • Improved Firefox integration, with native file dialogs and compliance to default application choices for opening files
Semantic Text Processing: Example Application
Semantic Text Processing: Example Application
What Is Semantics? - Definition, Examples & Quiz
What Is Semantics? - Definition, Examples & Quiz
Screen Reader & Wikipedia: Example of semantic language
Screen Reader & Wikipedia: Example of semantic language ...
DPL Week 2 - 03b Operational Semantics Example
DPL Week 2 - 03b Operational Semantics Example
Getting at the Semantics of Texts
Getting at the Semantics of Texts
Semantics
Semantics
Related Posts