README.md in chef-sugar-2.0.0 vs README.md in chef-sugar-2.1.0
- old
+ new
@@ -271,10 +271,12 @@
- `linux_mint?`
- `oracle_linux?`
- `redhat_enterprise_linux?`
- `scientific_linux?`
- `ubuntu?`
+- `solaris2?`
+- `aix?`
There are also a series of dynamically defined matchers that map named operating system release versions and comparison operators in the form "#{platform}\_#{operator}\_#{name}?". For example:
- `debian_after_squeeze?`
- `linuxmint_after_or_at_olivia?`
@@ -369,9 +371,20 @@
#### Examples
```ruby
http_request 'http://...' do
not_if { vagrant? }
+end
+```
+
+### Virtualization
+- `lxc?`
+
+#### Examples
+```ruby
+service 'ntpd' do
+ action [:enable, :start]
+ not_if { lxc? }
end
```
### Filters
- `compile_time` - accepts a block of resources to run at compile time