<feed xmlns='http://www.w3.org/2005/Atom'>
<title>propellor/src/Propellor/Property/Service.hs, branch master</title>
<subtitle>gnusosa's centralized propellor repository for hosts spin-up.
</subtitle>
<id>https://git.gnusosa.net/propellor/atom?h=master</id>
<link rel='self' href='https://git.gnusosa.net/propellor/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/'/>
<updated>2017-11-18T02:31:09Z</updated>
<entry>
<title>propellor spin</title>
<updated>2017-11-18T02:31:09Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2017-11-18T02:31:09Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=12db085fe8474e089fdb888ece26bbedec8e9be1'/>
<id>urn:sha1:12db085fe8474e089fdb888ece26bbedec8e9be1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Service: Avoid starting services when noServices is used.</title>
<updated>2017-11-18T01:58:53Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2017-11-18T01:58:39Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=6dae019be9ebed76f282ec3cb258df7bf5891320'/>
<id>urn:sha1:6dae019be9ebed76f282ec3cb258df7bf5891320</id>
<content type='text'>
Reconsidered making services never run inside chroots, that seemed too
potentially limiting.

Using Info rather than checking policy-rc.d because it will also work
outside of debian, but more because policy-rc.d has an extremely
complicated interface and I didn't want to deal with it.

This commit was sponsored by Jochen Bartl on Patreon.
</content>
</entry>
<entry>
<title>don't start services in chroots</title>
<updated>2017-11-17T23:53:20Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2017-11-17T23:53:20Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=21c3ff1daaed28647413cd1fb4ce4fc69f9f592a'/>
<id>urn:sha1:21c3ff1daaed28647413cd1fb4ce4fc69f9f592a</id>
<content type='text'>
Service: Changed to use invoke-rc.d rather than service for starting
services. This notably means that in chroots, services will not be started.

This seems like the right thing to do, because running services inside
a chroot is problimatic. Use a real container system for running services.

Fixes the problem that, when building a disk image, using eg,
Apt.servicesInstalledRunning caused the service to be started in the
chroot, even though a policy-rc.d was in place to prevent it, because the
"service" command does not check policy-rc.d.

This commit was sponsored by John Peloquin on Patreon.
</content>
</entry>
<entry>
<title>ported Property.Apt</title>
<updated>2016-03-25T19:28:31Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2016-03-25T19:28:31Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=1edce2b72614e2e8eceefde97436db024799ff20'/>
<id>urn:sha1:1edce2b72614e2e8eceefde97436db024799ff20</id>
<content type='text'>
</content>
</entry>
<entry>
<title>UncheckedProperty for cmdProperty et al</title>
<updated>2015-12-05T21:53:16Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2015-12-05T21:52:43Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=12548bae3d8feecce6a322162d91b827289ae824'/>
<id>urn:sha1:12548bae3d8feecce6a322162d91b827289ae824</id>
<content type='text'>
* Properties that run an arbitrary command, such as cmdProperty
  and scriptProperty are converted to use UncheckedProperty, since
  they cannot tell on their own if the command truely made a change or not.
  (API Change)
  Transition guide:
  - When GHC complains about an UncheckedProperty, add:
  	`assume` MadeChange
  - Since these properties used to always return MadeChange, that
    change is always safe to make.
  - Or, if you know that the command should modifiy a file, use:
  	`changesFile` filename
* A few properties have had their Result improved, for example
  Apt.buldDep and Apt.autoRemove now check if a change was made or not.
</content>
</entry>
<entry>
<title>propellor spin</title>
<updated>2015-10-10T18:45:00Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2015-10-10T18:45:00Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=28fe270223ed56ef8e7fd867573b5ba6a5a221c7'/>
<id>urn:sha1:28fe270223ed56ef8e7fd867573b5ba6a5a221c7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Export CommandParam, boolSystem, safeSystem and shellEscape from Propellor.Property.Cmd, so they are available for use in constricting your own Properties when using propellor as a library.</title>
<updated>2015-05-27T16:38:45Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2015-05-27T16:38:45Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=626f1af56f12be63cd78fa4910c55453c23cf5a0'/>
<id>urn:sha1:626f1af56f12be63cd78fa4910c55453c23cf5a0</id>
<content type='text'>
Several imports of Utility.SafeCommand now redundant.
</content>
</entry>
<entry>
<title>GADT properties seem to work (untested)</title>
<updated>2015-01-25T02:38:51Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2015-01-25T02:38:10Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=0ee04ecc43e047b00437fb660e71f7dd67dd3afc'/>
<id>urn:sha1:0ee04ecc43e047b00437fb660e71f7dd67dd3afc</id>
<content type='text'>
* Property has been converted to a GADT, and will be Property NoInfo
  or Property HasInfo.
  This was done to make sure that ensureProperty is only used on
  properties that do not have Info.
  Transition guide:
  - Change all "Property" to "Property NoInfo" or "Property WithInfo"
    (The compiler can tell you if you got it wrong!)
  - To construct a RevertableProperty, it is useful to use the new
    (&lt;!&gt;) operator
  - Constructing a list of properties can be problimatic, since
    Property NoInto and Property WithInfo are different types and cannot
    appear in the same list. To deal with this, "props" has been added,
    and can built up a list of properties of different types,
    using the same (&amp;) and (!) operators that are used to build
    up a host's properties.
</content>
</entry>
<entry>
<title>refactor</title>
<updated>2014-12-08T05:22:29Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2014-12-08T05:22:29Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=834a05e25a5844ff3aec4e4acecf00cc762d6545'/>
<id>urn:sha1:834a05e25a5844ff3aec4e4acecf00cc762d6545</id>
<content type='text'>
</content>
</entry>
<entry>
<title>moved source code to src</title>
<updated>2014-05-14T23:41:05Z</updated>
<author>
<name>Joey Hess</name>
<email>joey@kitenet.net</email>
</author>
<published>2014-05-14T23:41:05Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=7115d1ec162b4059b3e8e8f84bd8d5898c1db025'/>
<id>urn:sha1:7115d1ec162b4059b3e8e8f84bd8d5898c1db025</id>
<content type='text'>
This is to work around OSX's brain-damange regarding filename case
insensitivity.

Avoided moving config.hs, because it's a config file. Put in a symlink to
make build work.
</content>
</entry>
</feed>
